Petals ESB CLI

Usage of the stdin redirection must be cleared

Details

  • Type: Improvement Request Improvement Request
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.0.0
  • Fix Version/s: 2.0.0
  • Component/s: Command-line
  • Security Level: Public
  • Description:
    Hide

    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 PETALSESBCLI-9)

    Show
    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 PETALSESBCLI-9)
  • Environment:
    -

Issue Links

Activity

Transition Status Change Time Execution Times Last Executer Last Execution Date
New New Open Open
4d 22h 2m
1
Christophe DENEUX
Mon, 5 Mar 2012 - 16:25:13 +0100
Open Open In Progress In Progress
5s
1
Christophe DENEUX
Mon, 5 Mar 2012 - 16:25:18 +0100
In Progress In Progress Resolved Resolved
4m 13s
1
Christophe DENEUX
Mon, 5 Mar 2012 - 16:29:31 +0100
Resolved Resolved Open Open
21s
1
Christophe DENEUX
Mon, 5 Mar 2012 - 16:29:52 +0100
Open Open In Progress In Progress
34m 23s
1
Christophe DENEUX
Mon, 5 Mar 2012 - 17:04:15 +0100
In Progress In Progress Resolved Resolved
14s
1
Christophe DENEUX
Mon, 5 Mar 2012 - 17:04:29 +0100

People

Dates

  • Created:
    Wed, 29 Feb 2012 - 18:22:54 +0100
    Updated:
    Thu, 20 Sep 2012 - 16:56:47 +0200
    Resolved:
    Mon, 5 Mar 2012 - 17:04:29 +0100