Comments (5)
That's a great idea. I will implement this with #19 probably next weekend. I just need free time to do it.
from storm.
cli library that storm uses is manage.py which does not support multiple values for a single argument.
I think about implementing this with a slight change on the usage example you suggested.
storm add vps [email protected] -o "configOption=yes anotherConfigOption:1"
from storm.
The reason I suggested that particular syntax is because it mirrors the syntax for passing the values to scp/ssh themselves.
At the same time I understand the limitations in implementing it and in that context your suggestion path makes a lot of sense.
Granted I'd be very careful about what you use as a separator. For example SendEnv allows multiple environment variables to specified by separating the variables with white space.
from storm.
I decided to remove manage.py and use good, old argparse module for the new versions. It limits so much that brings more difficulty than I expected.
from storm.
It's up.
$ storm add web-prod [email protected] --o "StrictHostKeyChecking=no" --o "UserKnownHostsFile=/dev/null" --o "IdentityFile=/home/bob/.ssh/dev_id_rsa"
success web-prod added to your ssh config. you can connect it by typing "ssh web-prod".
$ storm search web-prod
Listing results for web-prod:
web-prod -> [email protected]:22
You can try it after a "pip install stormssh --upgrade"
from storm.
Related Issues (20)
- Adding hosts with ipv6 impossible HOT 3
- Feature request: Cloud Sync HOT 4
- StormConfig converting uppercase keys to lowercase HOT 5
- A branch of Golang implements
- Backup and restore for a gist(github/gitlab/etc) HOT 1
- Should this project be considered dead? HOT 10
- Build fails on python 3.2/python 3.3 HOT 2
- Tag the most recent release and push to https://pypi.org/ HOT 7
- Is there a way to define the config file as an include in the ~/.ssh/config? HOT 1
- Build failed on Python 3.6.5 - Gentoo HOT 1
- Startup service
- Storm stop working on MacOS 10.15 Beta HOT 1
- Terminal Colour stripped when filtering with grep and host uses custom options
- Nix Packaging?
- RFE: Add support to remove a given host from known_hosts
- Support indepotent behavior for add / remove
- Project dependencies may have API risk issues
- collections.Callable is deprecated HOT 1
- proxyjump not supported
- Blowfish is deprecated message HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from storm.