You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

basefile

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

basefile

Rapid terminal file creator. Save and pull files and boilerplates locally.

0.0.10
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

basefile.js

Rapid terminal file creator. Save and pull files and boilerplates locally.

  npm install -g basefile

###Use

  --new [filename.txt] "Creates a new file if no other flags given"
  --from [basefile saved] "Used with --new, will pull from a basefile saved"
  --save [file to be saved as basefile] "Will save the file specified as a 
                                          basefile to be referenced"
  --as [name for basefile] "Used with --save to name the file to call"
  

###Example

  $~/ base --new index.html 
    "Creates new file named 'index.html'"

  $~/ base --save index.html --as index
    "Creates a new basefile named 'index' with the contents of 'index.html'"

  $~/ base --new app.html --from index
    "Creates new file name 'app.html' with contents of saved 'index' basefile"

Keywords

file

FAQs

Package last updated on 01 Mar 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts