[TIMOB-10761] CLI: "status" builtin
GitHub Issue | n/a |
---|---|
Type | Sub-task |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-09-24T16:26:58.000+0000 |
Affected Version/s | Release 3.0.0 |
Fix Version/s | Release 3.0.0, Sprint 2012-19 JS, 2012 Sprint 19 |
Components | CLI |
Labels | n/a |
Reporter | Chris Barber |
Assignee | Chris Barber |
Created | 2012-09-04T15:31:06.000+0000 |
Updated | 2017-03-09T01:21:31.000+0000 |
Pull Requests: https://github.com/appcelerator/node-appc/pull/1 https://github.com/appcelerator/titanium/pull/4
I can't seem to run "titanium status" if I'm logged out, which kind of breaks the ability of us using as a means of determining our current login status. It interactively prompts me for my username and password.
Strange, it works fine for me. Did you recently pull from titanium and node-appc master branches? These changes were added just a few days ago.
I just pulled and reinstalled titanium package from master. Now status seems to work fine for me both online and offline. However, if I run logout while already logged out I get interactively prompted for my username/password (like status used to be doing). I'm assuming I should be using "titanium status --no-colors --no-banner -o json" as a means for Studio to be able to easily query our login/logout status?
@Chris, this was fixed last night in this commit: https://github.com/appcelerator/titanium/commit/71d9694484ad7f347d8a4206728a40dbd17935b8. Make sure you are constantly pulling the latest updates. Yeah, you should probably pass --no-colors --no-banner to all commands and --output json to the config, project, and status. We will probably add --output json to more commands in the near future, but let me know what commands you'd prefer json output for.
Closing ticket as fixed.