Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warcli Init command #412

Closed
m3dwards opened this issue Jul 17, 2024 · 5 comments
Closed

Warcli Init command #412

m3dwards opened this issue Jul 17, 2024 · 5 comments
Milestone

Comments

@m3dwards
Copy link
Collaborator

Add a command to warcli that will initialise a directory with example files for running a warnet simulation.

This will enable people to run warnet by just installing (or running) the warnet cli without having to clone the warnet repository.

Envisioned directory structure:

Screenshot 2024-07-17 at 13 03 36

@willcl-ark
Copy link
Contributor

I think #377 may handle this?

pip install warnet
warcli setup
warcli cluster start
warcli network start

@josibake
Copy link
Collaborator

josibake commented Sep 2, 2024

We have the Quickstart menu and also warnet init/warnet create commands. Could potentially drop one of those commands/ rename ? Leaving this open for now, as our current CLI commands are perhaps not sufficient, and adding the Tabconf milestone. @m3dwards can you take a look at the current CLI options and update this issue with what you think is missing or suggestions for improving?

@josibake josibake added this to the Tabconf milestone Sep 2, 2024
@m3dwards
Copy link
Collaborator Author

m3dwards commented Sep 3, 2024

What we have now is quite close to this vision.

Perhaps just add a network create command to create a new network.

@josibake
Copy link
Collaborator

josibake commented Sep 4, 2024

We have warnet deploy ./path/to/network/dir and each new project includes the example 6_node_network. Are you envisioning something different here?

I am trying to keep it so are deploy/run commands always take a path to a local file and do not rely on any defaults hidden in warnet, but happy to revisit that if you have a different use case in mind.

@m3dwards
Copy link
Collaborator Author

I think we are on the same page and have realised the vision. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants