Skip to content

RFC: BTCLI Extensions #500

@thewhaleking

Description

@thewhaleking

Background:

People want to write custom scripts that utilize BTCLI, but which might be a bit too niche for us to add these features natively.

Concept:

We have a framework designed around btcli, which allows developers to create these extensions.

Implementation:

The extensions are downloaded with btcli extensions add <github/whatever>, the scripts are added to bittensor_cli/extensions directory, and an entry in made in the user's config file.
Running btcli extensions update will git pull to update these.
Running btcli extensions run <name> will run that extension.
Running btcli extensions create will generate a boilerplate file for devs to use to create these extensions.
Running btcli extensions test <Optional:name> will run the tests for those extensions (all if name is ommitted)

Aliases for extensions typer app: ext, extension.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions