Skip to main content

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

  • Python >= 3.8 [install]
  • Nodjs >= 16.14 [install]
  • Homebrew (only on MacOS)
  • GitHub access via SSH

Steps

Install

  1. Donwload taskfiles/cli/cli.yml from neulabs-cli repository
  2. Install task command
    • [ Linux ] npm install -g @go-task/cli
    • [ MacOS ] brew install go-task
  3. Install neucli:
    pip3 install neucli
    
  4. Delete cli.yml and restart terminal
  5. Run neucli cli:version

Update

  1. neucli cli:update

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

Metadata

Release files for neucli 0.3.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for neucli 0.3.5
File Size Uploaded
neucli-0.3.5.tar.gz 21.2 kB Details

Release files / neucli-0.3.5.tar.gz

Download URL neucli-0.3.5.tar.gz
Size 21.2 kB
Tags Source
SHA-256 checksum
How to use checksums
5e4c972df108aaeaeb063710c7262706b9985a68cd43a782843026a64669b107
BLAKE2b-256 checksum
How to use checksums
67e8447ca6162125716de7a59e4c8819c8fe67c185fe419f81d4040301c214f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.6

Release history Release notifications | RSS feed

This release

0.3.5 This release

1 release file

0.3.4

1 release file

0.3.3

1 release file

0.3.2

1 release file

0.3.1

1 release file

0.3.0

1 release file

0.2.7

1 release file

0.2.6

1 release file

0.2.5

1 release file

0.2.4

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page