kopia lustrzana https://github.com/miklobit/TiddlyWiki5
				
				
				
			
		
			
				
	
	
		
			14 wiersze
		
	
	
		
			302 B
		
	
	
	
		
			JavaScript
		
	
	
		
			Executable File
		
	
			
		
		
	
	
			14 wiersze
		
	
	
		
			302 B
		
	
	
	
		
			JavaScript
		
	
	
		
			Executable File
		
	
| #!/usr/bin/env node
 | |
| 
 | |
| /*
 | |
| This is invoked as a shell script by NPM when the `tiddlywiki` command is typed
 | |
| */
 | |
| 
 | |
| var $tw = require("./boot/boot.js").$tw;
 | |
| 
 | |
| // Pass the command line arguments to the boot kernel
 | |
| $tw.boot.argv = Array.prototype.slice.call(process.argv,2);
 | |
| 
 | |
| // Boot the TW5 app
 | |
| $tw.boot.boot();
 |