Details
-
Type:
Improvement Request
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.0.0
-
Fix Version/s: 2.0.0
-
Component/s: Command-line
-
Security Level: Public
-
- Environment:
- -
Issue Links
| Duplicate | |||
|---|---|---|---|
|
|||
Activity
| Field | Original Value | New Value |
|---|---|---|
| Link |
This issue duplicates |
| Priority | Major [ 3 ] | |
| Description |
Petals CLI can process command using several ways:
- one command defined as argument on the command line, - several commands entered using the mode 'console', - several commands entered using the stdin that can be redirected (using the option '-s') Petals CLI can't process a file of commands directly. It should be more usable to have: - an option to execute the command on command line, as the tool 'su': {{petals-cli.sh -c <command>}} - by default, the mode 'console' is displayed: {{petals-cli.sh}} - the file of commands to execute is set as argument on command line: {{petals-cli.sh <my-command-file>}} - to use the stdin as stream of commands, use the 'special' filename '-': {{petals-cli.sh - < my-file}} So the stding redirection will be clearer (see |
Petals CLI can process command using several ways:
- one command defined as argument on the command line, - several commands entered using the mode 'console', - several commands entered using the stdin that can be redirected (using the option '-s') Petals CLI can't process a file of commands directly. It should be more usable to have: - an option to execute the command on command line, as the system tool 'su': {{petals-cli.sh -c <command>}} - by default, the mode 'console' is displayed: {{petals-cli.sh}} - the file of commands to execute is set as argument on command line: {{petals-cli.sh <my-command-file>}} - to use the stdin as stream of commands, use the 'special' filename '-': {{petals-cli.sh - < my-file}} So the stding redirection will be clearer (see |
| Description |
Petals CLI can process command using several ways:
- one command defined as argument on the command line, - several commands entered using the mode 'console', - several commands entered using the stdin that can be redirected (using the option '-s') Petals CLI can't process a file of commands directly. It should be more usable to have: - an option to execute the command on command line, as the system tool 'su': {{petals-cli.sh -c <command>}} - by default, the mode 'console' is displayed: {{petals-cli.sh}} - the file of commands to execute is set as argument on command line: {{petals-cli.sh <my-command-file>}} - to use the stdin as stream of commands, use the 'special' filename '-': {{petals-cli.sh - < my-file}} So the stding redirection will be clearer (see |
Petals CLI can process command using several ways:
- one command defined as argument on the command line, - several commands entered using the mode 'console', - several commands entered using the stdin that can be redirected (using the option '-s') Petals CLI can't process a file of commands directly. It should be more usable to have: - an option to execute the command on command line, as the system tool 'su': {{petals-cli.sh -c <command>}} - by default, the mode 'console' is displayed: {{petals-cli.sh}} - the file of commands to execute is set as argument on command line: {{petals-cli.sh <my-command-file>}} - to use the stdin as stream of commands, use the 'special' filename '-', that is the standard way (see the system tool 'tar'): {{petals-cli.sh - < my-file}} So the stding redirection will be clearer (see |
| Comment |
[ I would say the exact opposite.
The console mode must remain the default one, unless the configuration file changes the default mode. ] |
| Status | New [ 10000 ] | Open [ 10002 ] |
| Status | Open [ 10002 ] | In Progress [ 10003 ] |
| Status | In Progress [ 10003 ] | Resolved [ 10004 ] |
| Fix Version/s | 1.0.1 [ 10332 ] | |
| Resolution | Fixed [ 1 ] |
| Status | Resolved [ 10004 ] | Open [ 10002 ] |
| Resolution | Fixed [ 1 ] |
| Status | Open [ 10002 ] | In Progress [ 10003 ] |
| Status | In Progress [ 10003 ] | Resolved [ 10004 ] |
| Resolution | Fixed [ 1 ] |
| Component/s | Command-line [ 10239 ] |