Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[dist] Bump to v0.0.1

  • Loading branch information...
commit a1af228fff0821364ea0c0ee71cc57904c4af6b6 1 parent b512502
@Marak authored
View
4 README.md
@@ -1,6 +1,6 @@
# wizard
-proof of concept configuration wizard
+a configuration tool for node.js apps.
# usage
@@ -11,5 +11,3 @@ First, run cli app configuration install wizard:
Second, start your app
node examples/helloworld/server.js
-
-Third, read the source ( it's small )
View
33 examples/helloworld/form-installer.js
@@ -1,33 +0,0 @@
-var wizard = require('../../lib/wizard'),
- fs = require('fs');
-
-//
-// Load schema object from config.schema file ( regular JSON-schema)
-//
-var schema = wizard.load('./config/schema.json');
-
-//
-// Run the CLI configuration wizard
-//
-wizard.web.run(schema, function(err, results){
-
- if(err){
- console.log(err);
- }
-
- //
- // After the wizard completes, write the results to the config.json file
- //
-
- fs.writeFileSync('./config.json', JSON.stringify(results));
-
- //
- // Now that the app is configured, see if user wants to start it!
- //
-
- //
- // TODO: Cli prompt for starting
- //
-
-});
-
View
2  package.json
@@ -1,7 +1,7 @@
{
"author": "marak <marak.squires@gmail.com>",
"name": "wizard",
- "version": "0.0.0",
+ "version": "0.0.1",
"main": "./lib/wizard",
"dependencies": {
"prompt": "*"
Please sign in to comment.
Something went wrong with that request. Please try again.