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

accord-cli

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

accord-cli

compile any language from the command line

  • 0.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Accord CLI

npm dependencies tests Coverage Status

Compile any language from the command line

Note: This project is in early development, and versioning is a little different. Read this for more details.

Why should you care?

Based on a careful analysis of your location, the time of day, and the force with which you have been hitting keys on your keyboard, we have determined with 98% confidence that you might have been recently thinking, "Man, I really wish I could compile any js-based language via the command line just to quickly see the output". Well, you're in luck, that's pretty much exactly what accord cli will do for you.

Accord is a unified interface to a bunch of different compiled languages that you might be using as a part of your web stack. By ensuring that the interfaces are consistent, you can use any language that accord supports in the same way, without having to wade through pages of API docs to figure out how it's public API works. Most importantly, you can switch between two different languages with minimal pain. While accord is built for programmatic use, this project exposes a nice clean CLI interface so you can compile and watch from your command line. Whoo!

Installation

npm install accord-cli -g

...and make sure you also have whatever language(s) you want to compile installed globally as well. For example, if you were using jade, it would be:

$ npm install jade -g

Usage

To compile, just pass the filename with the --compile or -c flag:

$ accord -c foo.jade

To compile to a specific output location, use the --out or -o flag:

$ accord -c foo.jade -o bar.html

To compile with options, just put in your options as flags as such:

$ accord -c foo.jade --name 'doge' --location 'nyc'

To watch a file, recompiling it any time it changes, use the --watch or -w flag:

$ accord -w foo.jade

And if you want to compile multiple files with potentially different extensions like you would for a full web build, just use roots ya dumbo! For all usage options, just run accord or accord help

License & Contributing

FAQs

Package last updated on 03 Apr 2014

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