aidoku-cli

module
v0.5.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 27, 2023 License: 0BSD

README

aidoku-cli

Aidoku development tools in a single program

Installation

# macOS/Linux
brew install beerpiss/tap/aidoku

# Windows
scoop bucket add beerpiss https://github.com/beerpiss/scoop-bucket
scoop install beerpiss/aidoku-cli

# if you have golang installed
go install github.com/Aidoku/aidoku-cli/...@latest

or download them from Releases

Usage

Aidoku development toolkit

Usage:
  aidoku [command]

Available Commands:
  build       Build a source list from packages
  completion  Generate completion script
  help        Help about any command
  init        Create initial code for an Aidoku source
  logcat      Log streaming
  serve       Build a source list and serve it on the local network
  verify      Test Aidoku packages if they're ready for publishing
  version     Print version

Flags:
  -h, --help      help for aidoku
  -v, --verbose   verbose output
      --version   version for aidoku

Use "aidoku [command] --help" for more information about a command.

Commands

aidoku verify <FILES>

Test Aidoku packages if they're ready for publishing

Usage:
  aidoku verify <FILES> [flags]

Flags:
  -h, --help   help for verify

Global Flags:
  -v, --verbose   verbose output

aidoku init [rust-template|rust|as|c] [DIR]

Create initial code for an Aidoku source

Usage:
  aidoku init [rust-template|rust|as|c] [DIR] [flags]

Flags:
  -h, --help              help for init
  -p, --homepage string   Source homepage
  -l, --language string   Source language
  -n, --name string       Source name
      --nsfw int          Source NSFW level (default -1)
      --version           version for init

Global Flags:
  -v, --verbose   verbose output

aidoku build <FILES>

Build a source list from packages

Usage:
  aidoku build <FILES> [flags]

Flags:
  -h, --help               help for build
  -o, --output string      Output folder (default "public")
  -w, --web                Generate a landing page for the source list
      --web-title string   Title of the landing page (default "An Aidoku source list")

Global Flags:
      --force-color   always output with color
  -v, --verbose       verbose output

aidoku serve <FILES>

Build a source list and serve it on the local network

Usage:
  aidoku serve <FILES> [flags]

Flags:
  -h, --help            help for serve
  -o, --output string   The source list folder (default "public")
  -p, --port string     The port to broadcast the source list on (default "8080")

Global Flags:
  -v, --verbose   verbose output

aidoku logcat

Log streaming

Usage:
  aidoku logcat [flags]

Flags:
  -h, --help          help for logcat
  -p, --port string   The port to listen to logs on (default "9000")

Global Flags:
  -v, --verbose   verbose output

aidoku completion <SHELL>

Generate completion script

Usage:
  aidoku completion [bash|zsh|fish|powershell]

Flags:
  -h, --help      help for completion
      --version   version for completion

Global Flags:
  -v, --verbose   verbose output

Directories

Path Synopsis
cmd
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL