Skip to content

Added a 'deploy' command to the dcil interface #174

@bsutton

Description

@bsutton

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions