Permalink
Browse files

component open troubleshooting

  • Loading branch information...
jonathanong committed Apr 4, 2014
1 parent 7d795a7 commit f9df424234d26361eb0e27ad6e2fcaad0a1af00c
Showing with 3 additions and 0 deletions.
  1. +3 −0 bin/component-open
View
@@ -12,6 +12,7 @@ program.on('--help', function(){
console.log();
console.log(' open opens http://component.io');
console.log(' open guide opens the guide to Component');
+ console.log(' open troubleshooting opens the troubleshooting docs');
console.log(' open help opens the component(1) API docs');
console.log(' open help <command> opens the docs to a specific component(1) command');
console.log(' open . opens the current component\'s github page');
@@ -29,6 +30,8 @@ var arg = args[0];
if (arg === 'guide') return open('https://github.com/component/guide');
+if (arg === 'troubleshooting') return open('https://github.com/component/guide/blob/master/component/troubleshooting.md');
+
if (arg === 'help') {
var uri = 'https://github.com/component/guide/blob/master/component/api.md';
if (args[1]) uri += '#' + args[1];

0 comments on commit f9df424

Please sign in to comment.