mirror of
				https://github.com/musix-org/musix-oss
				synced 2025-11-04 12:59:31 +00:00 
			
		
		
		
	Updated
This commit is contained in:
		
							
								
								
									
										10
									
								
								node_modules/ascli/tests/test.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								node_modules/ascli/tests/test.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,10 @@
 | 
			
		||||
var cli = require("../ascli.js")("myapp");
 | 
			
		||||
 | 
			
		||||
cli.banner("staying straight".green.bold, "v1.0.0 through ascli");
 | 
			
		||||
cli.log("Hello world!".white.bold);
 | 
			
		||||
cli.log("...of ascli\n");
 | 
			
		||||
cli.log("Command line arguments".white.bold);
 | 
			
		||||
cli.log(cli.opt, cli.argv);
 | 
			
		||||
cli.banner("abcdefghijklmnopqrstuvwxyz 0123456789");
 | 
			
		||||
cli.ok("yep, that worked.");
 | 
			
		||||
cli.fail("nope, that didn't.");
 | 
			
		||||
		Reference in New Issue
	
	Block a user