Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nf

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nf

  • 0.0.3
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

nf (VERSION) -- create new file from template

Examples:

nf text -> Creates new text file (newfile.txt) in current directory.

nf text /path/to/directory -> Creates new text file in given directory.

nf text /path/to/file -> Creates new text file in same directory as given file.

nf --list (-l) -> Lists file templates (e.g. "text" above)

nf --store word /path/to/template.docx (-s) -> Stores a new template named "word", copying the given file into ~/.nf/word and updating the database. A new Word file can now be created with "nf word".

nf --delete word (-d, --remove) -> Removes the template that was stored by the previous example, both from the database and the filesystem.

Motivation:

MacOSX lacks the Windows Explorer right-click functionality to create a new file in the currently browsed folder. That is annoying. With 'nf' and DTerm installed, from any finder directory I can open DTerm and type "nf word" to create a new Microsoft Word file.

Templates:

nf has two "global" templates: 'text' and 'ruby'. Any local templates you create with '--store' are saved in ~/.nf.

Project:

Homepage: http://github.com/gsinclair/nf Licence: MIT

FAQs

Package last updated on 21 Jan 2012

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc