Added a 'deploy' command to the dcil interface
Nobody has claimed this yet.
- Dominant language
- Dart
- Stars
- 265
- Forks
- 30
- PR merge metrics
- No merged PRs in 30d
Description
Often times I want to compile, deploy to a remote system and run a dcli script.
the ideal is to create a new command deploy that can do these three actions in one line
dcli deploy bin/someapp.dart --remote host.domain.com.au --protocol=<ssh| ftp |http|...> --port=<optional port> --path=<remote path> --run --- <args to someapp>
So the command would
compile bin/someapp.dart
copy it to 'host.domain.com.au' using the selected protocol (defaults to ssh)
uses the --port which defaults based on protocol
the command is copied to the <remote path>
runs the command on the remote host passing in the <args to someapp>
The remote run will only work with ssh
Are the other protocols worth supporting?
It would be nice if we could save the arguments to a config file associated with the script and have an option to re-use the configured commands.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue does not name files or tests; start by locating the dcli command interface and the existing compilation and remote-copy entry points. Clarify the supported protocol scope, SSH-only execution behavior, argument forwarding, and config-file reuse before defining what completion and tests should cover.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart
- Domain
- cli, devops
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100