Permalink
Browse files

Merging my repo with the main titanium cli repo.

  • Loading branch information...
1 parent 57c4724 commit 5956a56260dc468519eff89534bdacbc9fd9c6c9 @cb1kenobi cb1kenobi committed Aug 22, 2012
Showing with 1,904 additions and 10,010 deletions.
  1. +3 −1 .gitignore
  2. +5 −0 .npmignore
  3. +24 −15 README.md
  4. +3 −21 bin/titanium
  5. +532 −0 lib/cli.js
  6. +16 −0 lib/commands/config.js
  7. +360 −0 lib/commands/help.js
  8. +26 −0 lib/commands/login.js
  9. +16 −0 lib/commands/logout.js
  10. +439 −0 lib/commands/sdk.js
  11. +31 −0 lib/commands/status.js
  12. +18 −0 lib/commands/version.js
  13. +37 −0 lib/config.js
  14. +126 −0 lib/logger.js
  15. +102 −96 lib/titanium.js
  16. +0 −24 lib/titanium/analytics.js
  17. +0 −18 lib/titanium/builtins/builtins.js
  18. +0 −122 lib/titanium/builtins/help.js
  19. +0 −25 lib/titanium/builtins/login.js
  20. +0 −24 lib/titanium/builtins/logout.js
  21. +0 −298 lib/titanium/builtins/sdk.js
  22. +0 −55 lib/titanium/config.js
  23. +0 −115 lib/titanium/environ.js
  24. +0 −180 lib/titanium/externals/externals.js
  25. +0 −104 lib/titanium/log.js
  26. +0 −68 lib/titanium/path.js
  27. +0 −20 lib/titanium/string.js
  28. +110 −0 locales/en.js
  29. +0 −1 node_modules/.bin/asciimo
  30. +0 −1 node_modules/.bin/semver
  31. +0 −1 node_modules/.bin/unzip.js
  32. +0 −22 node_modules/colors/MIT-LICENSE.txt
  33. +0 −77 node_modules/colors/ReadMe.md
  34. +0 −269 node_modules/colors/colors.js
  35. +0 −74 node_modules/colors/example.html
  36. +0 −65 node_modules/colors/example.js
  37. +0 −14 node_modules/colors/package.json
  38. +0 −65 node_modules/colors/test.js
  39. +0 −4 node_modules/optimist/.travis.yml
  40. +0 −21 node_modules/optimist/LICENSE
  41. +0 −487 node_modules/optimist/README.markdown
  42. +0 −10 node_modules/optimist/example/bool.js
  43. +0 −7 node_modules/optimist/example/boolean_double.js
  44. +0 −7 node_modules/optimist/example/boolean_single.js
  45. +0 −8 node_modules/optimist/example/default_hash.js
  46. +0 −7 node_modules/optimist/example/default_singles.js
  47. +0 −8 node_modules/optimist/example/divide.js
  48. +0 −20 node_modules/optimist/example/line_count.js
  49. +0 −29 node_modules/optimist/example/line_count_options.js
  50. +0 −29 node_modules/optimist/example/line_count_wrap.js
  51. +0 −4 node_modules/optimist/example/nonopt.js
  52. +0 −2 node_modules/optimist/example/reflect.js
  53. +0 −3 node_modules/optimist/example/short.js
  54. +0 −11 node_modules/optimist/example/string.js
  55. +0 −19 node_modules/optimist/example/usage-options.js
  56. +0 −10 node_modules/optimist/example/xup.js
  57. +0 −475 node_modules/optimist/index.js
  58. +0 −1 node_modules/optimist/node_modules/wordwrap/.npmignore
  59. +0 −70 node_modules/optimist/node_modules/wordwrap/README.markdown
  60. +0 −10 node_modules/optimist/node_modules/wordwrap/example/center.js
  61. +0 −3 node_modules/optimist/node_modules/wordwrap/example/meat.js
  62. +0 −76 node_modules/optimist/node_modules/wordwrap/index.js
  63. +0 −37 node_modules/optimist/node_modules/wordwrap/package.json
  64. +0 −30 node_modules/optimist/node_modules/wordwrap/test/break.js
  65. +0 −63 node_modules/optimist/node_modules/wordwrap/test/idleness.txt
  66. +0 −31 node_modules/optimist/node_modules/wordwrap/test/wrap.js
  67. +0 −43 node_modules/optimist/package.json
  68. +0 −71 node_modules/optimist/test/_.js
  69. +0 −2 node_modules/optimist/test/_/argv.js
  70. +0 −3 node_modules/optimist/test/_/bin.js
  71. +0 −420 node_modules/optimist/test/parse.js
  72. +0 −292 node_modules/optimist/test/usage.js
  73. +0 −2 node_modules/pkginfo/.npmignore
  74. +0 −85 node_modules/pkginfo/README.md
  75. +0 −194 node_modules/pkginfo/docs/docco.css
  76. +0 −101 node_modules/pkginfo/docs/pkginfo.html
  77. +0 −19 node_modules/pkginfo/examples/all-properties.js
  78. +0 −20 node_modules/pkginfo/examples/array-argument.js
  79. +0 −19 node_modules/pkginfo/examples/multiple-properties.js
  80. +0 −22 node_modules/pkginfo/examples/object-argument.js
  81. +0 −10 node_modules/pkginfo/examples/package.json
  82. +0 −19 node_modules/pkginfo/examples/single-property.js
  83. +0 −132 node_modules/pkginfo/lib/pkginfo.js
  84. +0 −17 node_modules/pkginfo/package.json
  85. +0 −69 node_modules/pkginfo/test/pkginfo-test.js
  86. +0 −55 node_modules/request/LICENSE
  87. +0 −287 node_modules/request/README.md
  88. +0 −103 node_modules/request/forever.js
  89. +0 −913 node_modules/request/main.js
  90. +0 −152 node_modules/request/mimetypes.js
  91. +0 −34 node_modules/request/oauth.js
  92. +0 −15 node_modules/request/package.json
  93. BIN node_modules/request/tests/googledoodle.png
  94. +0 −38 node_modules/request/tests/run.js
  95. +0 −82 node_modules/request/tests/server.js
  96. +0 −77 node_modules/request/tests/squid.conf
  97. +0 −20 node_modules/request/tests/ssl/ca/ca.cnf
  98. 0 node_modules/request/tests/ssl/ca/ca.crl
  99. +0 −17 node_modules/request/tests/ssl/ca/ca.crt
  100. +0 −13 node_modules/request/tests/ssl/ca/ca.csr
  101. +0 −18 node_modules/request/tests/ssl/ca/ca.key
  102. +0 −1 node_modules/request/tests/ssl/ca/ca.srl
  103. +0 −19 node_modules/request/tests/ssl/ca/server.cnf
  104. +0 −16 node_modules/request/tests/ssl/ca/server.crt
  105. +0 −11 node_modules/request/tests/ssl/ca/server.csr
  106. +0 −28 node_modules/request/tests/ssl/ca/server.js
  107. +0 −9 node_modules/request/tests/ssl/ca/server.key
  108. +0 −16 node_modules/request/tests/ssl/npm-ca.crt
  109. +0 −15 node_modules/request/tests/ssl/test.crt
  110. +0 −15 node_modules/request/tests/ssl/test.key
  111. +0 −95 node_modules/request/tests/test-body.js
  112. +0 −29 node_modules/request/tests/test-cookie.js
  113. +0 −90 node_modules/request/tests/test-cookiejar.js
  114. +0 −68 node_modules/request/tests/test-defaults.js
  115. +0 −37 node_modules/request/tests/test-errors.js
  116. +0 −52 node_modules/request/tests/test-headers.js
  117. +0 −94 node_modules/request/tests/test-httpModule.js
  118. +0 −97 node_modules/request/tests/test-https-strict.js
  119. +0 −86 node_modules/request/tests/test-https.js
  120. +0 −117 node_modules/request/tests/test-oauth.js
  121. +0 −92 node_modules/request/tests/test-params.js
  122. +0 −202 node_modules/request/tests/test-pipes.js
  123. +0 −39 node_modules/request/tests/test-proxy.js
  124. +0 −28 node_modules/request/tests/test-qs.js
  125. +0 −154 node_modules/request/tests/test-redirect.js
  126. +0 −87 node_modules/request/tests/test-timeout.js
  127. +0 −14 node_modules/request/tests/test-toJSON.js
  128. +0 −61 node_modules/request/tests/test-tunnel.js
  129. +0 −229 node_modules/request/tunnel.js
  130. +0 −19 node_modules/request/uuid.js
  131. +0 −65 node_modules/request/vendor/cookie/index.js
  132. +0 −72 node_modules/request/vendor/cookie/jar.js
  133. +0 −23 node_modules/semver/LICENSE
  134. +0 −119 node_modules/semver/README.md
  135. +0 −71 node_modules/semver/bin/semver
  136. +0 −11 node_modules/semver/package.json
  137. +0 −305 node_modules/semver/semver.js
  138. +0 −397 node_modules/semver/test.js
  139. +0 −4 node_modules/temp/.npmignore
  140. +0 −20 node_modules/temp/LICENSE
  141. +0 −176 node_modules/temp/README.md
  142. +0 −18 node_modules/temp/examples/grepcount.js
  143. +0 −22 node_modules/temp/examples/pdfcreator.js
  144. +0 −144 node_modules/temp/lib/temp.js
  145. +0 −28 node_modules/temp/package.json
  146. +0 −52 node_modules/temp/test/temp-test.js
  147. +56 −42 package.json
View
@@ -1,2 +1,4 @@
+._*
+.DS_Store
npm-debug.log
-
+node_modules
View
@@ -0,0 +1,5 @@
+.DS_Store
+.git*
+node_modules
+*.sublime-project
+*.sublime-workspace
View
@@ -1,31 +1,40 @@
## Overview
-[Titanium](https://github.com/appcelerator/titanium) is a [Command Line Tool (CLI)](http://en.wikipedia.org/wiki/Command-line_interface) for managing and deploying Titanium mobile applications and modules. It's open-source and easy to use. [We've](https://github.com/appcelertor) designed `titanium` to be suitable for command line beginners, but still be powerful and extensible enough for production usage.
+[Titanium](https://github.com/appcelerator/titanium) is a [Command Line Tool (CLI)](http://en.wikipedia.org/wiki/Command-line_interface)
+for managing and deploying Titanium Mobile applications and modules. It's open-source and easy to use. [We've](https://github.com/appcelertor)
+designed Titanium to be suitable for command line beginners, but still be powerful and extensible enough for production usage.
-`titanium` requires `npm`, the [node package manager](http://npmjs.org).
+## Local Installation
-## One-line npm install
-
- [sudo] curl http://npmjs.org/install.sh | sh
+ [sudo] npm install titanium -g
+## Bleeding Edge
-## One-line titanium install
+ // do this once
+ git clone https://github.com/appcelerator/titanium.git
+
+ // do this frequently
+ cd /path/to/titanium
+ git pull origin master
+ [sudo] npm install -g .
- [sudo] npm install titanium -g
+## Commands
-<a name="Libraries"></a>
-## Libraries
-`titanium` is built on a few well developed, well maintained Node.js libraries.
+* config - Configure your CLI settings
+* help - Displays help or help for a specific command
+* login - Logs into the Appcelerator Network
+* logout - Logs out of the Appcelerator Network
+* sdk - Download and install Titanium SDKs
+* status - Check authentication, SDK, and project status
+* version - Titanium CLI version
-- [npm](http://npmjs.org) - Node Package Manager
-- [colors](https://github.com/marak/colors.js) - Terminal Colors module
-- [optimist](https://github.com/substack/node-optimist) - CLI Options Parsing
+## Usage
+ titanium <command> [options]
-<a name="License"></a>
## License
This project is open source and provided under the Apache Public License (version 2). Please make sure you see the `LICENSE` file
included in this distribution for more details on the license. Also, please take notice of the privacy notice at the end of the file.
-#### (C) Copyright 2012, [Appcelerator](http://www.appcelerator.com) Inc. All Rights Reserved.
+#### (C) Copyright 2012, [Appcelerator](http://www.appcelerator.com/) Inc. All Rights Reserved.
View
@@ -1,22 +1,4 @@
-#!/usr/bin/env node
-
-var titanium = require('../lib/titanium');
-
-titanium.start(function (err)
-{
-
- process.stdout.on('drain', function () {
-// process.exit(err ? 1 : 0);
- })
-
- function onexit (code, status) {
- if (err) {
- process.removeListener('exit', onexit);
- process.exit(code);
- }
- }
-
- process.on('exit', onexit);
-
-});
+#!/usr/bin/env node --no-deprecation
+// --debug-brk
+require('../lib/titanium');
Oops, something went wrong.

0 comments on commit 5956a56

Please sign in to comment.