cli

command module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2025 License: Apache-2.0 Imports: 26 Imported by: 0

README

WriftAI CLI

WriftAI CLI helps you manage and deploy machine learning models.

Installation

You can install the WriftAI CLI (wriftai) on Linux, macOS, or Windows using your preferred package manager or by downloading prebuilt binaries from the Releases page.

Homebrew (macOS & Linux)
brew install wriftai/tap/wriftai

To upgrade:

brew upgrade wriftai
Scoop (Windows)
scoop bucket add wriftai https://github.com/wriftai/scoop-bucket.git
scoop install wriftai

To upgrade:

scoop update wriftai
Linux Packages (deb, rpm, apk, archlinux)

Prebuilt packages are available for multiple architectures. Download the file that matches your distro and architecture from the Releases page. Filenames look like:

wriftai_<VERSION>_linux_<ARCH>.(deb|rpm|apk|pkg.tar.zst)
Debian / Ubuntu (.deb)
sudo dpkg -i wriftai_<VERSION>_linux_<ARCH>.deb
Fedora / RHEL / CentOS (.rpm)
sudo rpm -i wriftai_<VERSION>_linux_<ARCH>.rpm
Alpine (.apk)
sudo apk add --allow-untrusted wriftai_<VERSION>_linux_<ARCH>.apk
Arch Linux (.pkg.tar.zst)
sudo pacman -U wriftai_<VERSION>_linux_<ARCH>.pkg.tar.zst
Manual Installation (Binaries)

Download the appropriate archive for your OS and architecture from the Releases page:

# Example for Linux (x86_64)
tar -xzf wriftai_Linux_x86_64.tar.gz
sudo mv wriftai /usr/local/bin/
Install via Go Modules

You can also install the CLI via go modules without the help of package managers.

go install github.com/wriftai/cli@latest

Add a symlink to the binary in $PATH for easier access:

sudo ln -s "$(go env GOPATH)/bin/cli" /usr/local/bin/wriftai
Build from Source

To build the latest development version, you’ll need Go 1.22+ installed.

git clone https://github.com/wriftai/cli.git
cd cli
make build

This produces a wriftai binary in the /tmp/bin/ directory.

You can then run:

sudo mv /tmp/bin/wriftai /usr/local/bin/
Shell Completions

If you installed wriftai using Homebrew, Scoop, or a Linux package, shell completions for Bash, Zsh, Fish, and PowerShell are installed automatically. If they don’t load right away, restart your shell.

If you installed manually or built from source, you can generate them on demand:

wriftai completion <shell>

For example:

wriftai completion bash
wriftai completion zsh
wriftai completion fish
wriftai completion powershell

You can then add the output to your shell’s completion directory or source it directly. See wriftai completion --help for more information.

Verify Installation:
wriftai version

Documentation

Coming Soon.

Contributing

Contributions are very welcome. To learn more, see the Contributor Guide.

License

Copyright (c) Sych Inc. All rights reserved.

Distributed under the terms of the Apache 2.0 license.

Documentation

Overview

Copyright © 2025 Sych Inc. wriftai@sych.io

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Jump to

Keyboard shortcuts

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