Neulabs cli
Project description
id: index title: Neucli
Neulabs CLI
The neulabs CLI is used to aggregate all those activities and commands useful to various developers, reducing development costs and creating shared standards.
The goal of neucli
is to facilitate the generation and use of standard components such as documentation structure, GitHub actions for releases, and more.
Neucli is based on Taskfile, a task runner that allows the creation of modular CLIs through YAML configurations. Each command has its own structure, some of them are Python modules, while others are simple Bash scripts. This approach makes it easy to add additional modules in various programming languages, and you can also create your own custom commands locally and add them to the CLI.
Installation
Requirements
Steps
- Donwload taskfiles/cli/cli.yml from neulabs-cli repository
- Install task command
- [ Linux ]
npm install -g @go-task/cli
- [ MacOS ]
brew install go-task
- [ Linux ]
- Install neucli:
pip3 install neucli neucli --installer
- Delete cli.yml and restart terminal
- Run
neucli help
Getting started
Help command
neucli help
Summary command
neucli summary -- command
Pass args to command
neucli command -- -opt-1 value --opt-2 -x --zyx
Own cli commands
- In the file
~/.neulabs-cli/Taskfile.local.yml
you can add your own commands as desired. - Then you can use your command with
neucli local:command-name
Dev mode
Setup git clone https://github.com/neulabscom/neulabs-cli.git && cd neulabs-cli git submodule update --init --recursive
task dev:setup:installer
source .activate
neucli --debug cli:deps:all
Test neucli commands
source .activate
neucli --debug dev:utils:lint
Test installer with debug mode
neucli --debug cli:installer
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file neucli-0.3.1.tar.gz
.
File metadata
- Download URL: neucli-0.3.1.tar.gz
- Upload date:
- Size: 20.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bab9dba4509154cffc738f4a5e03e54cb15a178c7576b6be149dbf4d0a52caa2 |
|
MD5 | 3fbfd2f9caeaa197f9cbc5c4143852a9 |
|
BLAKE2b-256 | b0d9aa866f859641e9aeba5a0090743942bc2d5476c6c0652b7dab7289c82f82 |