sass / sass-registry

Extension registry for Sass
7 stars 6 forks source link

Sass commandline #4

Open jlong opened 11 years ago

jlong commented 11 years ago

Basic interface modeled on Ruby gems?

sass list                             # show installed extensions
sass --remote list <query>            # show remote extensions matching <query>
sass install <extension> <directory>  # install a new <extension> to <directory>
sass config create                    # generate a new config file

Example of generic sass.json configuration file:

{
  remote: 'http://ext.sass-lang.org',
  sass_dir: 'sass',
  css_dir: 'public/stylesheets',
  extensions_dir: 'sass/vendor',       // directory where extensions should be installed
  output_style: 'expanded'
}  

JSON seems like the best language agnostic way to do this.

krisbulman commented 11 years ago

@ericam How do we go about getting a separate repo for a CLI driven Package Manager gem?

jlong commented 11 years ago

@nex3 How do you want to do this?

jlong commented 11 years ago

@chriseppstein Would love your thoughts on this, too.

carwin commented 11 years ago

@ericam probably something short like sasspm or sass-pm.

edit: That was in response to a comment that apparently only exists in my email notifications... Anyway, that's what I'd call the package manager portion of this.

jlong commented 11 years ago

Let's call it sass-install. Ultimately I think this should be part of Sass, but it can certainly be a separate gem that the main sass gem depends on and shells out to to make sass install work.