Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-16293] CLI: When showing a prompt, display what the direct CLI option would be

GitHub Issuen/a
TypeNew Feature
PriorityLow
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 3.2.0
Fix Version/sn/a
ComponentsCLI
Labelscb-tooling, cli
ReporterFokke Zandbergen
AssigneeChris Barber
Created2014-01-21T18:20:10.000+0000
Updated2016-09-02T06:58:31.000+0000

Description

Comments

  1. Tony Lukasavage 2014-01-21

    I can get behind this. It is particularly useful with build since it has a mountain of options. That said, you can always run with --no-prompt and it will fail and give you the necessary flags/options.
  2. Chris Barber 2014-01-21

    Hmm, I don't hate it. :) Would it be better if after prompting is complete, then displaying a "Running titanium build -p ..." instead? Then someone can just copy and paste the entire command. Or maybe I could inject the final command into the bash history?
  3. me@gmail.com 2014-01-21

    I think doing as the ticket states is great but also inserting the final command into bash history would be amazing
  4. Fokke Zandbergen 2014-01-21

    Having the full command displayed is nice as well, but not always practical if it is inmediately executed, rapidly pushing the displayed command up away in the console. I would like to have both ;) Using --no-prompt might be to harsh on people, having to retry for every command :S
  5. Ritu Agrawal 2014-01-23

    Moving this ticket to engineering to evaluate and prioritize this improvement.

JSON Source