diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 94573e8..6dd5d7e 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -55,21 +55,14 @@ brews: zsh_completion.install "completions/dlp-cli.zsh" => "_dlp-cli" fish_completion.install "completions/dlp-cli.fish" -winget: +scoops: - name: dlp-cli - publisher: DSGT-DLP - short_description: "CLI for Deep Learning Playground" - license: "mit" + folder: bucket + homepage: https://github.com/DSGT-DLP/dlp-cli + license: MIT repository: owner: DSGT-DLP - name: dlp-cli - branch: "winget-manifest--{{.Version}}" - pull_request: - enabled: true - base: - owner: DSGT-DLP - name: dlp-cli - branch: main + name: scoop-dlp-cli # The lines beneath this are called `modelines`. See `:help modeline` # Feel free to remove those if you don't want/use them. # yaml-language-server: $schema=https://goreleaser.com/static/schema.json diff --git a/README.md b/README.md index 70649ef..202398e 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,6 @@ # dlp-cli installation -## Unix installation (Linux, MacOS, WSL) - -Step 0: If on Windows, install [WSL](https://learn.microsoft.com/en-us/windows/wsl/install) +## Unix installation (Linux, MacOS) Step 1: Install homebrew. You can find installation instructions for homebrew at [https://brew.sh/](https://brew.sh/) @@ -10,25 +8,25 @@ Step 2: Run `brew tap DSGT-DLP/dlp-cli` in the terminal Step 3: Run `brew install dlp-cli` in the terminal -**NOTE (WSL):** You may need to append the `-w` flag to every cli command to tell dlp-cli to run bash cmds without pseudoterminals, which as of now only work in Unix environments. - -## Windows installation (Do this if WSL doesn't work) +## Windows installation -Step 1: If you don't have the `dlp-cli` submodule, run `git submodule init dlp-cli` in the project directory. Then run `git submodule update`. If it says that you are in a detached HEAD state, cd to the dlp-cli submodule directory and `git checkout main`. +Step 1: Install scoop. You can find installation instructions for scoop at [https://scoop.sh/](https://scoop.sh/) -Step 2: Run `winget settings --enable LocalManifestFiles` as administrator. Then, in the project directory, run `winget install -m dlp-cli/manifests/d/DSGT-DLP/dlp-cli/{version}`. Replace `{version}` with the version number that you want (typically the latest version). +Step 2: Run `scoop bucket add scoop-dlp-cli https://github.com/DSGT-DLP/scoop-dlp-cli.git` in the terminal -Step 3: Add the path to the install location to your PATH environment variable (somewhere within `%localappdata%\microsoft\winget\packages`, may need file explorer to find the exact folder) +Step 3: Run `scoop install scoop-dlp-cli/dlp-cli` in the terminal ## Usage Run `dlp-cli` in DLP's project directory in the terminal -## CLI Development Info +## READ IF YOU WANT TO CONTRIBUTE TO THE dlp-cli: + +Step 1: If you don't have the `dlp-cli` submodule, run `git submodule init dlp-cli` in the project directory. Then run `git submodule update`. If it says that you are in a detached HEAD state, cd to the dlp-cli submodule directory and `git checkout main`. -Run the cli in debug mode with `go run main.go` +Step 2: Run cli in debug mode with `go run main.go` -Make sure to add package paths of all files as imports in main.go +Step 3: Make sure to add package paths of all files as imports in main.go ## FAQs diff --git a/manifests/d/DSGT-DLP/dlp-cli/0.0.11/DSGT-DLP.dlp-cli.installer.yaml b/manifests/d/DSGT-DLP/dlp-cli/0.0.11/DSGT-DLP.dlp-cli.installer.yaml deleted file mode 100644 index 06776a9..0000000 --- a/manifests/d/DSGT-DLP/dlp-cli/0.0.11/DSGT-DLP.dlp-cli.installer.yaml +++ /dev/null @@ -1,34 +0,0 @@ -# This file was generated by GoReleaser. DO NOT EDIT. -# yaml-language-server: $schema=https://aka.ms/winget-manifest.installer.1.4.0.schema.json -PackageIdentifier: DSGT-DLP.dlp-cli -PackageVersion: 0.0.11 -InstallerLocale: en-US -InstallerType: zip -ReleaseDate: "2023-08-30" -Installers: - - Architecture: x86 - NestedInstallerType: portable - NestedInstallerFiles: - - RelativeFilePath: dlp-cli.exe - PortableCommandAlias: dlp-cli - InstallerUrl: https://github.com/DSGT-DLP/dlp-cli/releases/download/v0.0.11/dlp-cli_Windows_i386.zip - InstallerSha256: 71575bc69d7ff1db56a65a90aa9f7d0cabefb332c3aae861757761cc3e281fc6 - UpgradeBehavior: uninstallPrevious - - Architecture: arm64 - NestedInstallerType: portable - NestedInstallerFiles: - - RelativeFilePath: dlp-cli.exe - PortableCommandAlias: dlp-cli - InstallerUrl: https://github.com/DSGT-DLP/dlp-cli/releases/download/v0.0.11/dlp-cli_Windows_arm64.zip - InstallerSha256: 61fd8ca2201287a115b188f8043931cd8850d3b5e2e598179c97b1d183571354 - UpgradeBehavior: uninstallPrevious - - Architecture: x64 - NestedInstallerType: portable - NestedInstallerFiles: - - RelativeFilePath: dlp-cli.exe - PortableCommandAlias: dlp-cli - InstallerUrl: https://github.com/DSGT-DLP/dlp-cli/releases/download/v0.0.11/dlp-cli_Windows_x86_64.zip - InstallerSha256: fb65d78269a3388286fd68cb19544cb68de627abda0c6220958ddabb38a52f98 - UpgradeBehavior: uninstallPrevious -ManifestType: installer -ManifestVersion: 1.4.0 diff --git a/manifests/d/DSGT-DLP/dlp-cli/0.0.11/DSGT-DLP.dlp-cli.locale.en-US.yaml b/manifests/d/DSGT-DLP/dlp-cli/0.0.11/DSGT-DLP.dlp-cli.locale.en-US.yaml deleted file mode 100644 index 450e40c..0000000 --- a/manifests/d/DSGT-DLP/dlp-cli/0.0.11/DSGT-DLP.dlp-cli.locale.en-US.yaml +++ /dev/null @@ -1,12 +0,0 @@ -# This file was generated by GoReleaser. DO NOT EDIT. -# yaml-language-server: $schema=https://aka.ms/winget-manifest.defaultLocale.1.4.0.schema.json -PackageIdentifier: DSGT-DLP.dlp-cli -PackageVersion: 0.0.11 -PackageLocale: en-US -Publisher: DSGT-DLP -PackageName: dlp-cli -License: mit -ShortDescription: CLI for Deep Learning Playground -Moniker: dlp-cli -ManifestType: defaultLocale -ManifestVersion: 1.4.0 diff --git a/manifests/d/DSGT-DLP/dlp-cli/0.0.11/DSGT-DLP.dlp-cli.yaml b/manifests/d/DSGT-DLP/dlp-cli/0.0.11/DSGT-DLP.dlp-cli.yaml deleted file mode 100644 index e36ca68..0000000 --- a/manifests/d/DSGT-DLP/dlp-cli/0.0.11/DSGT-DLP.dlp-cli.yaml +++ /dev/null @@ -1,7 +0,0 @@ -# This file was generated by GoReleaser. DO NOT EDIT. -# yaml-language-server: $schema=https://aka.ms/winget-manifest.version.1.4.0.schema.json -PackageIdentifier: DSGT-DLP.dlp-cli -PackageVersion: 0.0.11 -DefaultLocale: en-US -ManifestType: version -ManifestVersion: 1.4.0 diff --git a/manifests/d/DSGT-DLP/dlp-cli/0.0.9/DSGT-DLP.dlp-cli.installer.yaml b/manifests/d/DSGT-DLP/dlp-cli/0.0.9/DSGT-DLP.dlp-cli.installer.yaml deleted file mode 100644 index 9e213e5..0000000 --- a/manifests/d/DSGT-DLP/dlp-cli/0.0.9/DSGT-DLP.dlp-cli.installer.yaml +++ /dev/null @@ -1,34 +0,0 @@ -# This file was generated by GoReleaser. DO NOT EDIT. -# yaml-language-server: $schema=https://aka.ms/winget-manifest.installer.1.4.0.schema.json -PackageIdentifier: DSGT-DLP.dlp-cli -PackageVersion: 0.0.9 -InstallerLocale: en-US -InstallerType: zip -ReleaseDate: "2023-08-30" -Installers: - - Architecture: x64 - NestedInstallerType: portable - NestedInstallerFiles: - - RelativeFilePath: dlp-cli.exe - PortableCommandAlias: dlp-cli - InstallerUrl: https://github.com/DSGT-DLP/dlp-cli/releases/download/v0.0.9/dlp-cli_Windows_x86_64.zip - InstallerSha256: bdef2cb15b2903290c0d574a3fb8db2a29fbb2c60b0badcf9852ad7df9a46c71 - UpgradeBehavior: uninstallPrevious - - Architecture: arm64 - NestedInstallerType: portable - NestedInstallerFiles: - - RelativeFilePath: dlp-cli.exe - PortableCommandAlias: dlp-cli - InstallerUrl: https://github.com/DSGT-DLP/dlp-cli/releases/download/v0.0.9/dlp-cli_Windows_arm64.zip - InstallerSha256: 6e08cb114eca89ec5fbd9ca98b371d51ab53288738840dba6237b6d29735f8f7 - UpgradeBehavior: uninstallPrevious - - Architecture: x86 - NestedInstallerType: portable - NestedInstallerFiles: - - RelativeFilePath: dlp-cli.exe - PortableCommandAlias: dlp-cli - InstallerUrl: https://github.com/DSGT-DLP/dlp-cli/releases/download/v0.0.9/dlp-cli_Windows_i386.zip - InstallerSha256: 98620cf1329fe5da7e156cb49e4e7f6140064934a3e2168c28d9556d5ac04933 - UpgradeBehavior: uninstallPrevious -ManifestType: installer -ManifestVersion: 1.4.0 diff --git a/manifests/d/DSGT-DLP/dlp-cli/0.0.9/DSGT-DLP.dlp-cli.locale.en-US.yaml b/manifests/d/DSGT-DLP/dlp-cli/0.0.9/DSGT-DLP.dlp-cli.locale.en-US.yaml deleted file mode 100644 index d2f4182..0000000 --- a/manifests/d/DSGT-DLP/dlp-cli/0.0.9/DSGT-DLP.dlp-cli.locale.en-US.yaml +++ /dev/null @@ -1,12 +0,0 @@ -# This file was generated by GoReleaser. DO NOT EDIT. -# yaml-language-server: $schema=https://aka.ms/winget-manifest.defaultLocale.1.4.0.schema.json -PackageIdentifier: DSGT-DLP.dlp-cli -PackageVersion: 0.0.9 -PackageLocale: en-US -Publisher: DSGT-DLP -PackageName: dlp-cli -License: mit -ShortDescription: CLI for Deep Learning Playground -Moniker: dlp-cli -ManifestType: defaultLocale -ManifestVersion: 1.4.0 diff --git a/manifests/d/DSGT-DLP/dlp-cli/0.0.9/DSGT-DLP.dlp-cli.yaml b/manifests/d/DSGT-DLP/dlp-cli/0.0.9/DSGT-DLP.dlp-cli.yaml deleted file mode 100644 index b8cd50d..0000000 --- a/manifests/d/DSGT-DLP/dlp-cli/0.0.9/DSGT-DLP.dlp-cli.yaml +++ /dev/null @@ -1,7 +0,0 @@ -# This file was generated by GoReleaser. DO NOT EDIT. -# yaml-language-server: $schema=https://aka.ms/winget-manifest.version.1.4.0.schema.json -PackageIdentifier: DSGT-DLP.dlp-cli -PackageVersion: 0.0.9 -DefaultLocale: en-US -ManifestType: version -ManifestVersion: 1.4.0