Skip to main content

No project description provided

Project description

Novara cli

This is the cli for the novara api

Commands

configure

This command configures the cli to use a server and fetches some configs from it

generate

This command will regenerate the Dockerfile from the novara.toml. Additionally the command can add dependencies to the toml file.

init

This command initializes a new directory with a template already configured for the given service

run

This command can either run the exploit locally or upload it to remote to execute it.

status

This command will retreive the info for a container or optionally all containers including their current health

stop

This command stops the currently running remote container.

remove

This command will delete a exploit.

Installation

You can install the CLI directly from PyPI:

pip install novara

Or build and install from source:

poetry build -f wheel
pip install dist/*.whl

The cli can then be access by running novara [OPTIONS] command in your terminal.

Development

To install the CLI for development, use:

poetry install
poetry shell

Alternatively, you can install in editable mode with pip:

pip install -e .

Project Structure

  • configs.py - Manages all CLI configurations and settings
  • main.py - Entry point that registers all available commands
  • commands/ - Directory containing individual command implementations
    • Each command is implemented in command_name.py
  • utils.py - Utility functions and helpers (including Logger class)

Adding New Commands

  1. Create a new file in commands/command_name.py
  2. Implement your command function
  3. Register it in main.py

Publishing

To publish a new version of the CLI, simply push a GitHub tag:

git tag v1.0.0
git push origin v1.0.0

This will trigger the automated build

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

novara-0.1.20.tar.gz (15.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

novara-0.1.20-py3-none-any.whl (23.1 kB view details)

Uploaded Python 3

File details

Details for the file novara-0.1.20.tar.gz.

File metadata

  • Download URL: novara-0.1.20.tar.gz
  • Upload date:
  • Size: 15.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for novara-0.1.20.tar.gz
Algorithm Hash digest
SHA256 c5c9ec405d5d5f58f9d731696fce0e01347aaa9b972fd6f36ec4e134d0bac055
MD5 c150dfc6e2c8e17d1072f03ecacb61bf
BLAKE2b-256 fc89059f5ff287b54ef2f702b363bec4cd2dd1b3491f6e94bd759e647c91a0eb

See more details on using hashes here.

Provenance

The following attestation bundles were made for novara-0.1.20.tar.gz:

Publisher: publish.yml on TeamM0unt41n/novara-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file novara-0.1.20-py3-none-any.whl.

File metadata

  • Download URL: novara-0.1.20-py3-none-any.whl
  • Upload date:
  • Size: 23.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for novara-0.1.20-py3-none-any.whl
Algorithm Hash digest
SHA256 8ab24c3525704f784a3342037b31ddc93b101aa4b6c918d5178c52188e505e7a
MD5 d73442e6fa7bec9d9fa57e1f602741ee
BLAKE2b-256 3259c2efb39b46c062b0a10bc7d191dfc676178840f4453af4b444948bf2c30b

See more details on using hashes here.

Provenance

The following attestation bundles were made for novara-0.1.20-py3-none-any.whl:

Publisher: publish.yml on TeamM0unt41n/novara-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page