paulyoung / fontello-cli

Command line interface for fontello.
MIT License
88 stars 30 forks source link

Print command and folder args issues #11

Closed seb-celinedesign closed 10 years ago

seb-celinedesign commented 10 years ago

Hi, when i run fontello-cli with --css and --fonts args, i got the following error : print('--css path provided is not a directory.\n'.red); ^ ReferenceError: print is not defined at Command.program.command.description.action.fontello.open.config (/usr/local/lib/node_modules/fontello/lib/cli.js:40:9) at Command. (/usr/local/lib/node_modules/fontello/node_modules/commander/index.js:249:8) at Command.EventEmitter.emit (events.js:98:17) at Command.parseArgs (/usr/local/lib/node_modules/fontello/node_modules/commander/index.js:472:12) at Command.parse (/usr/local/lib/node_modules/fontello/node_modules/commander/index.js:370:21) at Object. (/usr/local/lib/node_modules/fontello/lib/cli.js:61:11) at Object. (/usr/local/lib/node_modules/fontello/lib/cli.js:63:4) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10) at Module.load (module.js:356:32)

I'm on Mac with Node v0.10.22 and the folders exists.

MoOx commented 10 years ago

Just got the same issue.

paulyoung commented 10 years ago

I believe #12 and 0.2.4 fixes this.