cli

command module
v0.0.0-...-1b7a5c5 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: MIT Imports: 5 Imported by: 0

README

AIS CLI

CLI provides easy-to-use intuitive interface to AIStore.

It is a separate package, module (as in: go.mod), and development.

For implementation, we have used urfave/cli open-source.

To build CLI from source, run the following two steps:

$ make cli			# 1. build CLI binary and install it into your `$GOPATH/bin` directory
$ make cli-autocompletions	# 2. install CLI autocompletions (Bash and/or Zsh)

Alternatively, install directly from GitHub:

For example, the following command extracts CLI binary to the specified destination and, secondly, installs Bash autocompletions:

$ ./scripts/install_from_binaries.sh --dstdir /tmp/www --completions

For more usage options, run: ./scripts/install_from_binaries.sh --help

You can also install Bash and/or Zsh autocompletions separately at any (later) time:

Once installed, you should be able to start by running ais <TAB-TAB>, selecting one of the available (completion) options, and repeating until the command is ready to be entered.

Please note: we strongly recommend using CLI with autocompletions enabled.

Further references

Documentation

Overview

Package cli is used as command-line interpreter for AIS

  • Copyright (c) 2018-2024, NVIDIA CORPORATION. All rights reserved.

Directories

Path Synopsis
Package cli provides easy-to-use commands to manage, monitor, and utilize AIS clusters.
Package cli provides easy-to-use commands to manage, monitor, and utilize AIS clusters.
Package config provides types and functions to configure AIS CLI.
Package config provides types and functions to configure AIS CLI.
Package teb contains templates and (templated) tables to format CLI output.
Package teb contains templates and (templated) tables to format CLI output.

Jump to

Keyboard shortcuts

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