diff --git a/src/app/app.tsx b/src/app/app.tsx index 59d2fe73..b34088d5 100644 --- a/src/app/app.tsx +++ b/src/app/app.tsx @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + import * as React from "react"; import * as mobxReact from "mobx-react"; import * as mobx from "mobx"; diff --git a/src/app/bookmarks/bookmarks.tsx b/src/app/bookmarks/bookmarks.tsx index 2e423c7a..dd7edaa6 100644 --- a/src/app/bookmarks/bookmarks.tsx +++ b/src/app/bookmarks/bookmarks.tsx @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + import * as React from "react"; import * as mobxReact from "mobx-react"; import * as mobx from "mobx"; diff --git a/src/app/common/common.tsx b/src/app/common/common.tsx index f4b2b3dc..6c77ff81 100644 --- a/src/app/common/common.tsx +++ b/src/app/common/common.tsx @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + import * as React from "react"; import * as mobxReact from "mobx-react"; import * as mobx from "mobx"; diff --git a/src/app/common/modals/modals.tsx b/src/app/common/modals/modals.tsx index 7b652f32..9382197b 100644 --- a/src/app/common/modals/modals.tsx +++ b/src/app/common/modals/modals.tsx @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + import * as React from "react"; import * as mobxReact from "mobx-react"; import * as mobx from "mobx"; diff --git a/src/app/common/modals/settings.tsx b/src/app/common/modals/settings.tsx index 98d69525..1a1da1dc 100644 --- a/src/app/common/modals/settings.tsx +++ b/src/app/common/modals/settings.tsx @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + import * as React from "react"; import * as mobxReact from "mobx-react"; import * as mobx from "mobx"; diff --git a/src/app/common/prompt/prompt.tsx b/src/app/common/prompt/prompt.tsx index 90ef1a73..348113b7 100644 --- a/src/app/common/prompt/prompt.tsx +++ b/src/app/common/prompt/prompt.tsx @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + import * as React from "react"; import * as mobxReact from "mobx-react"; import * as mobx from "mobx"; diff --git a/src/app/common/themes/themes.ts b/src/app/common/themes/themes.ts index 66447a29..34dbde95 100644 --- a/src/app/common/themes/themes.ts +++ b/src/app/common/themes/themes.ts @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + /** * The file contains barebones of styling to appy themes to Prompt. * @TODO: Find a way to change the theme system-wide. atm, we are captruing colors in main.less diff --git a/src/app/connections/connections.tsx b/src/app/connections/connections.tsx index 95a7c65d..58165ba4 100644 --- a/src/app/connections/connections.tsx +++ b/src/app/connections/connections.tsx @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + import * as React from "react"; import * as mobxReact from "mobx-react"; import * as mobx from "mobx"; diff --git a/src/app/history/history.tsx b/src/app/history/history.tsx index 65629625..2d7bf397 100644 --- a/src/app/history/history.tsx +++ b/src/app/history/history.tsx @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + import * as React from "react"; import * as mobxReact from "mobx-react"; import * as mobx from "mobx"; diff --git a/src/app/line/linecomps.tsx b/src/app/line/linecomps.tsx index 395d56e9..7a604e1a 100644 --- a/src/app/line/linecomps.tsx +++ b/src/app/line/linecomps.tsx @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + import * as React from "react"; import * as mobxReact from "mobx-react"; import * as mobx from "mobx"; diff --git a/src/app/line/linesview.tsx b/src/app/line/linesview.tsx index 5ed1f125..79d048b1 100644 --- a/src/app/line/linesview.tsx +++ b/src/app/line/linesview.tsx @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + import * as React from "react"; import * as mobxReact from "mobx-react"; import * as mobx from "mobx"; diff --git a/src/app/line/lineutil.ts b/src/app/line/lineutil.ts index 1fcb9db5..44e32f19 100644 --- a/src/app/line/lineutil.ts +++ b/src/app/line/lineutil.ts @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + import dayjs from "dayjs"; import localizedFormat from "dayjs/plugin/localizedFormat"; import { isBlank, getDateStr } from "../../util/util"; diff --git a/src/app/line/renderer/basicrenderer.tsx b/src/app/line/renderer/basicrenderer.tsx index 75aad6d0..df760944 100644 --- a/src/app/line/renderer/basicrenderer.tsx +++ b/src/app/line/renderer/basicrenderer.tsx @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + import * as React from "react"; import * as mobxReact from "mobx-react"; import * as mobx from "mobx"; diff --git a/src/app/sidebar/MainSideBar.tsx b/src/app/sidebar/MainSideBar.tsx index ca624ef0..293bed6f 100644 --- a/src/app/sidebar/MainSideBar.tsx +++ b/src/app/sidebar/MainSideBar.tsx @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + import * as React from "react"; import * as mobxReact from "mobx-react"; import * as mobx from "mobx"; diff --git a/src/app/workspace/cmdinput/cmdinput.tsx b/src/app/workspace/cmdinput/cmdinput.tsx index 0ea52420..a55f5470 100644 --- a/src/app/workspace/cmdinput/cmdinput.tsx +++ b/src/app/workspace/cmdinput/cmdinput.tsx @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + import * as React from "react"; import * as mobxReact from "mobx-react"; import * as mobx from "mobx"; diff --git a/src/app/workspace/cmdinput/historyinfo.tsx b/src/app/workspace/cmdinput/historyinfo.tsx index c403a1e2..9d2a13de 100644 --- a/src/app/workspace/cmdinput/historyinfo.tsx +++ b/src/app/workspace/cmdinput/historyinfo.tsx @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + import * as React from "react"; import * as mobxReact from "mobx-react"; import * as mobx from "mobx"; diff --git a/src/app/workspace/cmdinput/infomsg.tsx b/src/app/workspace/cmdinput/infomsg.tsx index 0f79d24c..c62d9ad8 100644 --- a/src/app/workspace/cmdinput/infomsg.tsx +++ b/src/app/workspace/cmdinput/infomsg.tsx @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + import * as React from "react"; import * as mobxReact from "mobx-react"; import { If, For } from "tsx-control-statements/components"; diff --git a/src/app/workspace/cmdinput/textareainput.tsx b/src/app/workspace/cmdinput/textareainput.tsx index 715cb10e..bf1b370d 100644 --- a/src/app/workspace/cmdinput/textareainput.tsx +++ b/src/app/workspace/cmdinput/textareainput.tsx @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + import * as React from "react"; import * as mobxReact from "mobx-react"; import * as mobx from "mobx"; diff --git a/src/app/workspace/screen/screenview.tsx b/src/app/workspace/screen/screenview.tsx index 706c1da0..2aeef4fc 100644 --- a/src/app/workspace/screen/screenview.tsx +++ b/src/app/workspace/screen/screenview.tsx @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + import * as React from "react"; import * as mobxReact from "mobx-react"; import * as mobx from "mobx"; diff --git a/src/app/workspace/screen/tabs.tsx b/src/app/workspace/screen/tabs.tsx index 4390c8dd..a151c720 100644 --- a/src/app/workspace/screen/tabs.tsx +++ b/src/app/workspace/screen/tabs.tsx @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + import * as React from "react"; import * as mobxReact from "mobx-react"; import * as mobx from "mobx"; diff --git a/src/app/workspace/workspaceview.tsx b/src/app/workspace/workspaceview.tsx index 328b4b52..0e456f0c 100644 --- a/src/app/workspace/workspaceview.tsx +++ b/src/app/workspace/workspaceview.tsx @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + import * as React from "react"; import * as mobxReact from "mobx-react"; import * as mobx from "mobx"; diff --git a/src/electron/emain.ts b/src/electron/emain.ts index cbc6d7fd..7bf3c8d4 100644 --- a/src/electron/emain.ts +++ b/src/electron/emain.ts @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + import * as electron from "electron"; import * as path from "path"; import * as fs from "fs"; diff --git a/src/index.ts b/src/index.ts index 7f205343..f933174c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + import * as mobx from "mobx"; import * as React from "react"; import { createRoot } from "react-dom/client"; diff --git a/src/model/model.ts b/src/model/model.ts index fba2718e..a2024a01 100644 --- a/src/model/model.ts +++ b/src/model/model.ts @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + import * as mobx from "mobx"; import { sprintf } from "sprintf-js"; import { boundMethod } from "autobind-decorator"; diff --git a/src/model/ws.ts b/src/model/ws.ts index bd6cdc0a..bd0af743 100644 --- a/src/model/ws.ts +++ b/src/model/ws.ts @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + import * as mobx from "mobx"; import { sprintf } from "sprintf-js"; import { boundMethod } from "autobind-decorator"; diff --git a/src/plugins/code/code.tsx b/src/plugins/code/code.tsx index 3a582026..4da4df72 100644 --- a/src/plugins/code/code.tsx +++ b/src/plugins/code/code.tsx @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + import * as React from "react"; import { RendererContext, RendererOpts, LineStateType, RendererModelContainerApi } from "../../types/types"; import Editor from "@monaco-editor/react"; diff --git a/src/plugins/core/basicrenderer.tsx b/src/plugins/core/basicrenderer.tsx index 866dbc4a..4a6ad614 100644 --- a/src/plugins/core/basicrenderer.tsx +++ b/src/plugins/core/basicrenderer.tsx @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + import * as React from "react"; import * as mobxReact from "mobx-react"; import * as mobx from "mobx"; diff --git a/src/plugins/core/incrementalrenderer.tsx b/src/plugins/core/incrementalrenderer.tsx index 2a4d1b70..adf859ca 100644 --- a/src/plugins/core/incrementalrenderer.tsx +++ b/src/plugins/core/incrementalrenderer.tsx @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + import * as React from "react"; import * as mobxReact from "mobx-react"; import * as mobx from "mobx"; diff --git a/src/plugins/core/ptydata.ts b/src/plugins/core/ptydata.ts index 45c8e55e..04206523 100644 --- a/src/plugins/core/ptydata.ts +++ b/src/plugins/core/ptydata.ts @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + import * as mobx from "mobx"; import { incObs } from "../../util/util"; diff --git a/src/plugins/csv/csv.tsx b/src/plugins/csv/csv.tsx index f5257351..d8aff685 100644 --- a/src/plugins/csv/csv.tsx +++ b/src/plugins/csv/csv.tsx @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + import React, { FC, useEffect, useState, useRef, useMemo } from "react"; import { RendererContext, RendererOpts, LineStateType, RendererModelContainerApi } from "../../types/types"; import { GlobalModel } from "../../model/model"; diff --git a/src/plugins/csv/search.tsx b/src/plugins/csv/search.tsx index 8a5c891c..cfb1c850 100644 --- a/src/plugins/csv/search.tsx +++ b/src/plugins/csv/search.tsx @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + import React, { FC, useEffect, useState } from "react"; const DebouncedInput: FC<{ diff --git a/src/plugins/image/image.tsx b/src/plugins/image/image.tsx index af8d2c67..24b12d61 100644 --- a/src/plugins/image/image.tsx +++ b/src/plugins/image/image.tsx @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + import * as React from "react"; import * as mobx from "mobx"; import * as mobxReact from "mobx-react"; diff --git a/src/plugins/markdown/markdown.tsx b/src/plugins/markdown/markdown.tsx index 1871a077..ace18899 100644 --- a/src/plugins/markdown/markdown.tsx +++ b/src/plugins/markdown/markdown.tsx @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + import * as React from "react"; import * as mobx from "mobx"; import * as mobxReact from "mobx-react"; diff --git a/src/plugins/mustache/mustache.tsx b/src/plugins/mustache/mustache.tsx index bba34830..859ddd0a 100644 --- a/src/plugins/mustache/mustache.tsx +++ b/src/plugins/mustache/mustache.tsx @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + import * as React from "react"; import * as mobx from "mobx"; import * as mobxReact from "mobx-react"; diff --git a/src/plugins/openai/openai.tsx b/src/plugins/openai/openai.tsx index 68be150a..80bd7354 100644 --- a/src/plugins/openai/openai.tsx +++ b/src/plugins/openai/openai.tsx @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + import * as React from "react"; import * as mobx from "mobx"; import * as mobxReact from "mobx-react"; diff --git a/src/plugins/plugins.ts b/src/plugins/plugins.ts index 60a39874..0bc4c7a6 100644 --- a/src/plugins/plugins.ts +++ b/src/plugins/plugins.ts @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + import { RendererPluginType } from "../types/types"; import { SimpleImageRenderer } from "./image/image"; import { SimpleMarkdownRenderer } from "./markdown/markdown"; diff --git a/src/plugins/terminal/term.ts b/src/plugins/terminal/term.ts index 5689cec1..056e5ed9 100644 --- a/src/plugins/terminal/term.ts +++ b/src/plugins/terminal/term.ts @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + import * as mobx from "mobx"; import { Terminal } from "xterm"; import { sprintf } from "sprintf-js"; diff --git a/src/plugins/terminal/terminal.tsx b/src/plugins/terminal/terminal.tsx index d4185886..4196ac41 100644 --- a/src/plugins/terminal/terminal.tsx +++ b/src/plugins/terminal/terminal.tsx @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + import * as React from "react"; import * as mobxReact from "mobx-react"; import * as mobx from "mobx"; diff --git a/src/types/svg.d.ts b/src/types/svg.d.ts index ba70195c..35086723 100644 --- a/src/types/svg.d.ts +++ b/src/types/svg.d.ts @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + declare module "*.svg" { import React from "react"; export const ReactComponent: React.FunctionComponent & { title?: string }>; diff --git a/src/types/types.ts b/src/types/types.ts index 709234cb..670c2ba4 100644 --- a/src/types/types.ts +++ b/src/types/types.ts @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + import * as React from "react"; import * as mobx from "mobx"; diff --git a/src/util/textmeasure.ts b/src/util/textmeasure.ts index 211ee8e7..9be33d8f 100644 --- a/src/util/textmeasure.ts +++ b/src/util/textmeasure.ts @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + import { boundInt } from "./util"; const MinTermCols = 10; diff --git a/src/util/util.ts b/src/util/util.ts index 6a7993b7..6d88eab0 100644 --- a/src/util/util.ts +++ b/src/util/util.ts @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + import * as mobx from "mobx"; import { sprintf } from "sprintf-js"; import dayjs from "dayjs"; diff --git a/waveshell/main-waveshell.go b/waveshell/main-waveshell.go index 086ad0be..dd92e2c5 100644 --- a/waveshell/main-waveshell.go +++ b/waveshell/main-waveshell.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package main import ( diff --git a/waveshell/pkg/base/base.go b/waveshell/pkg/base/base.go index d9204f4f..74359c50 100644 --- a/waveshell/pkg/base/base.go +++ b/waveshell/pkg/base/base.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package base import ( diff --git a/waveshell/pkg/base/optsiter.go b/waveshell/pkg/base/optsiter.go index f607c670..c9e33e16 100644 --- a/waveshell/pkg/base/optsiter.go +++ b/waveshell/pkg/base/optsiter.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package base import "strings" diff --git a/waveshell/pkg/binpack/binpack.go b/waveshell/pkg/binpack/binpack.go index 67e25337..50d4a015 100644 --- a/waveshell/pkg/binpack/binpack.go +++ b/waveshell/pkg/binpack/binpack.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package binpack import ( diff --git a/waveshell/pkg/cirfile/cirfile.go b/waveshell/pkg/cirfile/cirfile.go index fef9a764..4706c565 100644 --- a/waveshell/pkg/cirfile/cirfile.go +++ b/waveshell/pkg/cirfile/cirfile.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package cirfile import ( diff --git a/waveshell/pkg/cirfile/cirfile_test.go b/waveshell/pkg/cirfile/cirfile_test.go index d38cb09a..65f473f4 100644 --- a/waveshell/pkg/cirfile/cirfile_test.go +++ b/waveshell/pkg/cirfile/cirfile_test.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package cirfile import ( diff --git a/waveshell/pkg/cmdtail/cmdtail.go b/waveshell/pkg/cmdtail/cmdtail.go index f60ed67e..83fa92b3 100644 --- a/waveshell/pkg/cmdtail/cmdtail.go +++ b/waveshell/pkg/cmdtail/cmdtail.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package cmdtail import ( diff --git a/waveshell/pkg/mpio/bufreader.go b/waveshell/pkg/mpio/bufreader.go index f3ad32e8..1dba54ed 100644 --- a/waveshell/pkg/mpio/bufreader.go +++ b/waveshell/pkg/mpio/bufreader.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package mpio import ( diff --git a/waveshell/pkg/mpio/bufwriter.go b/waveshell/pkg/mpio/bufwriter.go index 86d2efa3..2aeca503 100644 --- a/waveshell/pkg/mpio/bufwriter.go +++ b/waveshell/pkg/mpio/bufwriter.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package mpio import ( diff --git a/waveshell/pkg/mpio/mpio.go b/waveshell/pkg/mpio/mpio.go index d58dd5f6..d75d1cc3 100644 --- a/waveshell/pkg/mpio/mpio.go +++ b/waveshell/pkg/mpio/mpio.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package mpio import ( diff --git a/waveshell/pkg/packet/combined.go b/waveshell/pkg/packet/combined.go index 0f15fd93..76ce0948 100644 --- a/waveshell/pkg/packet/combined.go +++ b/waveshell/pkg/packet/combined.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package packet type CombinedPacket struct { diff --git a/waveshell/pkg/packet/packet.go b/waveshell/pkg/packet/packet.go index 88ce0420..7b9352b3 100644 --- a/waveshell/pkg/packet/packet.go +++ b/waveshell/pkg/packet/packet.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package packet import ( diff --git a/waveshell/pkg/packet/parser.go b/waveshell/pkg/packet/parser.go index f84be258..8b1a207a 100644 --- a/waveshell/pkg/packet/parser.go +++ b/waveshell/pkg/packet/parser.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package packet import ( diff --git a/waveshell/pkg/packet/shellstate.go b/waveshell/pkg/packet/shellstate.go index 33907238..2644a522 100644 --- a/waveshell/pkg/packet/shellstate.go +++ b/waveshell/pkg/packet/shellstate.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package packet import ( diff --git a/waveshell/pkg/server/server.go b/waveshell/pkg/server/server.go index fa0bcb5b..a31016e8 100644 --- a/waveshell/pkg/server/server.go +++ b/waveshell/pkg/server/server.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package server import ( diff --git a/waveshell/pkg/shexec/client.go b/waveshell/pkg/shexec/client.go index 14d8c9d9..ab9e0c02 100644 --- a/waveshell/pkg/shexec/client.go +++ b/waveshell/pkg/shexec/client.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package shexec import ( diff --git a/waveshell/pkg/shexec/parser.go b/waveshell/pkg/shexec/parser.go index 215a4c05..6a91dbe0 100644 --- a/waveshell/pkg/shexec/parser.go +++ b/waveshell/pkg/shexec/parser.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package shexec import ( diff --git a/waveshell/pkg/shexec/shexec.go b/waveshell/pkg/shexec/shexec.go index d5912194..c38f9472 100644 --- a/waveshell/pkg/shexec/shexec.go +++ b/waveshell/pkg/shexec/shexec.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package shexec import ( diff --git a/waveshell/pkg/simpleexpand/simpleexpand.go b/waveshell/pkg/simpleexpand/simpleexpand.go index d92d35c4..ddd63f1c 100644 --- a/waveshell/pkg/simpleexpand/simpleexpand.go +++ b/waveshell/pkg/simpleexpand/simpleexpand.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package simpleexpand import ( diff --git a/waveshell/pkg/statediff/linediff.go b/waveshell/pkg/statediff/linediff.go index fa7ce11b..3032a43a 100644 --- a/waveshell/pkg/statediff/linediff.go +++ b/waveshell/pkg/statediff/linediff.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package statediff import ( diff --git a/waveshell/pkg/statediff/mapdiff.go b/waveshell/pkg/statediff/mapdiff.go index 47db9f4b..b88628bb 100644 --- a/waveshell/pkg/statediff/mapdiff.go +++ b/waveshell/pkg/statediff/mapdiff.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package statediff import ( diff --git a/waveshell/pkg/statediff/statediff_test.go b/waveshell/pkg/statediff/statediff_test.go index 34dc478c..c9f706f8 100644 --- a/waveshell/pkg/statediff/statediff_test.go +++ b/waveshell/pkg/statediff/statediff_test.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package statediff import ( diff --git a/wavesrv/cmd/main-server.go b/wavesrv/cmd/main-server.go index 62806737..ca9a5fdd 100644 --- a/wavesrv/cmd/main-server.go +++ b/wavesrv/cmd/main-server.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package main import ( diff --git a/wavesrv/db/db.go b/wavesrv/db/db.go index de43f7c6..b83bbe33 100644 --- a/wavesrv/db/db.go +++ b/wavesrv/db/db.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + // provides the io/fs for DB migrations package db diff --git a/wavesrv/pkg/cmdrunner/cmdrunner.go b/wavesrv/pkg/cmdrunner/cmdrunner.go index 16822107..94514dca 100644 --- a/wavesrv/pkg/cmdrunner/cmdrunner.go +++ b/wavesrv/pkg/cmdrunner/cmdrunner.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package cmdrunner import ( diff --git a/wavesrv/pkg/cmdrunner/resolver.go b/wavesrv/pkg/cmdrunner/resolver.go index fabd0e87..43ed6c43 100644 --- a/wavesrv/pkg/cmdrunner/resolver.go +++ b/wavesrv/pkg/cmdrunner/resolver.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package cmdrunner import ( diff --git a/wavesrv/pkg/cmdrunner/shparse.go b/wavesrv/pkg/cmdrunner/shparse.go index a37ec7c7..b75d5a73 100644 --- a/wavesrv/pkg/cmdrunner/shparse.go +++ b/wavesrv/pkg/cmdrunner/shparse.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package cmdrunner import ( diff --git a/wavesrv/pkg/cmdrunner/shparse_test.go b/wavesrv/pkg/cmdrunner/shparse_test.go index 682d028e..03b4ebc9 100644 --- a/wavesrv/pkg/cmdrunner/shparse_test.go +++ b/wavesrv/pkg/cmdrunner/shparse_test.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package cmdrunner import ( diff --git a/wavesrv/pkg/cmdrunner/termopts.go b/wavesrv/pkg/cmdrunner/termopts.go index 365a7a26..309a9666 100644 --- a/wavesrv/pkg/cmdrunner/termopts.go +++ b/wavesrv/pkg/cmdrunner/termopts.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package cmdrunner import ( diff --git a/wavesrv/pkg/comp/comp.go b/wavesrv/pkg/comp/comp.go index 4d0041da..d15816ef 100644 --- a/wavesrv/pkg/comp/comp.go +++ b/wavesrv/pkg/comp/comp.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + // scripthaus completion package comp diff --git a/wavesrv/pkg/comp/comp_test.go b/wavesrv/pkg/comp/comp_test.go index 31b4ed75..332ff1f6 100644 --- a/wavesrv/pkg/comp/comp_test.go +++ b/wavesrv/pkg/comp/comp_test.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package comp import ( diff --git a/wavesrv/pkg/comp/simplecomp.go b/wavesrv/pkg/comp/simplecomp.go index 41b104bc..6fbf79e3 100644 --- a/wavesrv/pkg/comp/simplecomp.go +++ b/wavesrv/pkg/comp/simplecomp.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package comp import ( diff --git a/wavesrv/pkg/dbutil/dbutil.go b/wavesrv/pkg/dbutil/dbutil.go index 36387327..7f7e3e22 100644 --- a/wavesrv/pkg/dbutil/dbutil.go +++ b/wavesrv/pkg/dbutil/dbutil.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package dbutil import ( diff --git a/wavesrv/pkg/dbutil/map.go b/wavesrv/pkg/dbutil/map.go index dffe922b..ee908036 100644 --- a/wavesrv/pkg/dbutil/map.go +++ b/wavesrv/pkg/dbutil/map.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package dbutil import ( diff --git a/wavesrv/pkg/keygen/keygen.go b/wavesrv/pkg/keygen/keygen.go index a8ae232e..4155c578 100644 --- a/wavesrv/pkg/keygen/keygen.go +++ b/wavesrv/pkg/keygen/keygen.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + // Utility functions for generating and reading public/private keypairs. package keygen diff --git a/wavesrv/pkg/mapqueue/mapqueue.go b/wavesrv/pkg/mapqueue/mapqueue.go index aa5d4d9a..93db6091 100644 --- a/wavesrv/pkg/mapqueue/mapqueue.go +++ b/wavesrv/pkg/mapqueue/mapqueue.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package mapqueue import ( diff --git a/wavesrv/pkg/pcloud/pcloud.go b/wavesrv/pkg/pcloud/pcloud.go index 672de624..af034ad5 100644 --- a/wavesrv/pkg/pcloud/pcloud.go +++ b/wavesrv/pkg/pcloud/pcloud.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package pcloud import ( diff --git a/wavesrv/pkg/pcloud/pclouddata.go b/wavesrv/pkg/pcloud/pclouddata.go index a865bd0c..04f00dfb 100644 --- a/wavesrv/pkg/pcloud/pclouddata.go +++ b/wavesrv/pkg/pcloud/pclouddata.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package pcloud import ( diff --git a/wavesrv/pkg/promptenc/promptenc.go b/wavesrv/pkg/promptenc/promptenc.go index e5ac25b3..23bfe1bd 100644 --- a/wavesrv/pkg/promptenc/promptenc.go +++ b/wavesrv/pkg/promptenc/promptenc.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package promptenc import ( diff --git a/wavesrv/pkg/remote/circlelog.go b/wavesrv/pkg/remote/circlelog.go index b5d3eb29..752dcf41 100644 --- a/wavesrv/pkg/remote/circlelog.go +++ b/wavesrv/pkg/remote/circlelog.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package remote import ( diff --git a/wavesrv/pkg/remote/openai/openai.go b/wavesrv/pkg/remote/openai/openai.go index fe7cee68..66838445 100644 --- a/wavesrv/pkg/remote/openai/openai.go +++ b/wavesrv/pkg/remote/openai/openai.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package openai import ( diff --git a/wavesrv/pkg/remote/remote.go b/wavesrv/pkg/remote/remote.go index 25692dba..c9106c2b 100644 --- a/wavesrv/pkg/remote/remote.go +++ b/wavesrv/pkg/remote/remote.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package remote import ( diff --git a/wavesrv/pkg/remote/updatequeue.go b/wavesrv/pkg/remote/updatequeue.go index 1a66549b..e6f07637 100644 --- a/wavesrv/pkg/remote/updatequeue.go +++ b/wavesrv/pkg/remote/updatequeue.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package remote import ( diff --git a/wavesrv/pkg/rtnstate/rtnstate.go b/wavesrv/pkg/rtnstate/rtnstate.go index 2fddb803..772dda01 100644 --- a/wavesrv/pkg/rtnstate/rtnstate.go +++ b/wavesrv/pkg/rtnstate/rtnstate.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package rtnstate import ( diff --git a/wavesrv/pkg/scbase/scbase.go b/wavesrv/pkg/scbase/scbase.go index da9d778f..18c3b906 100644 --- a/wavesrv/pkg/scbase/scbase.go +++ b/wavesrv/pkg/scbase/scbase.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package scbase import ( diff --git a/wavesrv/pkg/scpacket/scpacket.go b/wavesrv/pkg/scpacket/scpacket.go index a6ef1a31..c9e2e208 100644 --- a/wavesrv/pkg/scpacket/scpacket.go +++ b/wavesrv/pkg/scpacket/scpacket.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package scpacket import ( diff --git a/wavesrv/pkg/scws/scws.go b/wavesrv/pkg/scws/scws.go index 360c0e35..25cad69f 100644 --- a/wavesrv/pkg/scws/scws.go +++ b/wavesrv/pkg/scws/scws.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package scws import ( diff --git a/wavesrv/pkg/shparse/comp.go b/wavesrv/pkg/shparse/comp.go index 257341df..89608206 100644 --- a/wavesrv/pkg/shparse/comp.go +++ b/wavesrv/pkg/shparse/comp.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package shparse import ( diff --git a/wavesrv/pkg/shparse/expand.go b/wavesrv/pkg/shparse/expand.go index 9f872311..40af5752 100644 --- a/wavesrv/pkg/shparse/expand.go +++ b/wavesrv/pkg/shparse/expand.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package shparse import ( diff --git a/wavesrv/pkg/shparse/extend.go b/wavesrv/pkg/shparse/extend.go index 8642e430..83e81703 100644 --- a/wavesrv/pkg/shparse/extend.go +++ b/wavesrv/pkg/shparse/extend.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package shparse import ( diff --git a/wavesrv/pkg/shparse/shparse.go b/wavesrv/pkg/shparse/shparse.go index 5757f845..a902f998 100644 --- a/wavesrv/pkg/shparse/shparse.go +++ b/wavesrv/pkg/shparse/shparse.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package shparse import ( diff --git a/wavesrv/pkg/shparse/shparse_test.go b/wavesrv/pkg/shparse/shparse_test.go index ee7ca093..31b70089 100644 --- a/wavesrv/pkg/shparse/shparse_test.go +++ b/wavesrv/pkg/shparse/shparse_test.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package shparse import ( diff --git a/wavesrv/pkg/shparse/tokenize.go b/wavesrv/pkg/shparse/tokenize.go index 825e7387..32ae75b0 100644 --- a/wavesrv/pkg/shparse/tokenize.go +++ b/wavesrv/pkg/shparse/tokenize.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package shparse import ( diff --git a/wavesrv/pkg/sstore/dbops.go b/wavesrv/pkg/sstore/dbops.go index 658a25af..593ef3e4 100644 --- a/wavesrv/pkg/sstore/dbops.go +++ b/wavesrv/pkg/sstore/dbops.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package sstore import ( diff --git a/wavesrv/pkg/sstore/fileops.go b/wavesrv/pkg/sstore/fileops.go index 57fd5292..6d42ac99 100644 --- a/wavesrv/pkg/sstore/fileops.go +++ b/wavesrv/pkg/sstore/fileops.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package sstore import ( diff --git a/wavesrv/pkg/sstore/map.go b/wavesrv/pkg/sstore/map.go index c24a5345..21329dde 100644 --- a/wavesrv/pkg/sstore/map.go +++ b/wavesrv/pkg/sstore/map.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package sstore import ( diff --git a/wavesrv/pkg/sstore/migrate.go b/wavesrv/pkg/sstore/migrate.go index 06d8d51d..566c30b0 100644 --- a/wavesrv/pkg/sstore/migrate.go +++ b/wavesrv/pkg/sstore/migrate.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package sstore import ( diff --git a/wavesrv/pkg/sstore/quick.go b/wavesrv/pkg/sstore/quick.go index 84aae134..ff1480d5 100644 --- a/wavesrv/pkg/sstore/quick.go +++ b/wavesrv/pkg/sstore/quick.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package sstore import ( diff --git a/wavesrv/pkg/sstore/sstore.go b/wavesrv/pkg/sstore/sstore.go index 6ff4c42d..84c2cc2f 100644 --- a/wavesrv/pkg/sstore/sstore.go +++ b/wavesrv/pkg/sstore/sstore.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package sstore import ( diff --git a/wavesrv/pkg/sstore/sstore_migrate.go b/wavesrv/pkg/sstore/sstore_migrate.go index 15036ff1..6f6d20a6 100644 --- a/wavesrv/pkg/sstore/sstore_migrate.go +++ b/wavesrv/pkg/sstore/sstore_migrate.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package sstore import ( diff --git a/wavesrv/pkg/sstore/updatebus.go b/wavesrv/pkg/sstore/updatebus.go index 72316b3a..242c1c80 100644 --- a/wavesrv/pkg/sstore/updatebus.go +++ b/wavesrv/pkg/sstore/updatebus.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package sstore import ( diff --git a/wavesrv/pkg/utilfn/linediff.go b/wavesrv/pkg/utilfn/linediff.go index 5d4a2e9e..f724441b 100644 --- a/wavesrv/pkg/utilfn/linediff.go +++ b/wavesrv/pkg/utilfn/linediff.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package utilfn import ( diff --git a/wavesrv/pkg/utilfn/utilfn.go b/wavesrv/pkg/utilfn/utilfn.go index 5b3e70b1..dbab5c29 100644 --- a/wavesrv/pkg/utilfn/utilfn.go +++ b/wavesrv/pkg/utilfn/utilfn.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package utilfn import ( diff --git a/wavesrv/pkg/utilfn/utilfn_test.go b/wavesrv/pkg/utilfn/utilfn_test.go index d5d7c81b..c6956ab9 100644 --- a/wavesrv/pkg/utilfn/utilfn_test.go +++ b/wavesrv/pkg/utilfn/utilfn_test.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package utilfn import ( diff --git a/wavesrv/pkg/wsshell/wsshell.go b/wavesrv/pkg/wsshell/wsshell.go index d6fe69e7..48031df5 100644 --- a/wavesrv/pkg/wsshell/wsshell.go +++ b/wavesrv/pkg/wsshell/wsshell.go @@ -1,3 +1,6 @@ +// Copyright 2023, Command Line Inc. +// SPDX-License-Identifier: Apache-2.0 + package wsshell import (