Commit Graph

61 Commits

Author SHA1 Message Date
Nicholas O'Connor
3dc004d27a improvements to the help command, including outputting detailed descriptions 2017-03-25 00:25:20 -07:00
Nicholas O'Connor
de77c55df7 description implementation! version already has one 2017-03-24 23:37:49 -07:00
Nicholas O'Connor
a5a8fb284c help descriptions now understood by the cog files, no implementation yet, don't try to build this 2017-03-24 23:05:31 -07:00
Nicholas O'Connor
405ba80d8d moved source finding logic to its own function for easy reuse later 2017-03-24 22:41:33 -07:00
Nicholas O'Connor
f32328c32a cellar_library funciton in CMakeLists.txt 2017-03-24 22:33:26 -07:00
Nicholas O'Connor
02571218bd git commit -a doesn't add untracked files, you idiot stoner 2017-03-24 22:06:03 -07:00
Nicholas O'Connor
5024b69dcb core command reorganizing, including splitting off help for new help system 2017-03-24 22:05:22 -07:00
Nicholas O'Connor
06512f0503 support for being specific about your bottle, via -b flag 2017-03-24 21:50:32 -07:00
Nicholas O'Connor
f20b0899a1 cellar config set is now effective 2017-03-24 20:12:57 -07:00
Nicholas O'Connor
f4de6406bb verbose output is now a thing 2017-03-24 20:01:25 -07:00
Nicholas O'Connor
4e67bd40c5 cellar now outputs pretty shit when it detects stdout is a terminal 2017-03-24 19:30:58 -07:00
Nicholas O'Connor
c877663932 config command can get values now 2017-03-24 18:45:50 -07:00
Nicholas O'Connor
22cffca2d8 bottles now initialize their config in a new constructor instead of get_bottles 2017-03-24 17:58:24 -07:00
Nicholas O'Connor
20844ae72b removed need for dummy file (and therefore removed dummy file) 2017-03-24 17:30:49 -07:00
Nicholas O'Connor
55787584e2 config loading is now done via bottle class method, save function also exists 2017-03-24 17:17:43 -07:00
Nicholas O'Connor
04f2c46def beginnings of a config command 2017-03-24 15:57:49 -07:00
Nicholas O'Connor
ece1c07b1a update install rules 2017-03-23 21:23:01 -07:00
Nicholas O'Connor
1c91618f5c launching commands! 2017-03-23 21:20:26 -07:00
Nicholas O'Connor
325413f3f2 converted executable-based commands to the new command API (as "core") 2017-03-23 19:09:36 -07:00
Nicholas O'Connor
5a7353abc1 introduction of new output functions to use instead of directly streaming to cout 2017-03-23 18:51:11 -07:00
Nicholas O'Connor
8b2cb4ceba fixed building in directories other than the package root 2017-03-23 18:22:09 -07:00
Nicholas O'Connor
5278b5d98b still learning to cmake correctly 2017-03-23 18:09:18 -07:00
Nicholas O'Connor
a6d9c341df functional but naive activate command 2017-03-23 18:08:24 -07:00
Nicholas O'Connor
af056ee961 subargv[0] is now the expected value of "cellar <command>" 2017-03-23 17:23:59 -07:00
Nicholas O'Connor
e2382719d5 added generated files to .gitignore 2017-03-23 15:39:50 -07:00
Nicholas O'Connor
38d6419c23 commands now actually receive subarguments 2017-03-23 15:25:56 -07:00
Nicholas O'Connor
b4f5740006 switched commandfunction to vector<string> 2017-03-23 15:13:52 -07:00
Nicholas O'Connor
ad670b5033 beginnings of an activate command 2017-03-23 15:03:07 -07:00
Nicholas O'Connor
13cda029e7 beginnings of an activate command 2017-03-23 15:03:02 -07:00
Nicholas O'Connor
e47571d03a removed extraneous boost headers 2017-03-23 14:56:20 -07:00
Nicholas O'Connor
fbe52e8e13 fixed errant newlines in generated code 2017-03-23 14:44:39 -07:00
Nicholas O'Connor
6943ebfd87 cogged include/internal/bottles.hpp 2017-03-23 14:43:48 -07:00
Nicholas O'Connor
d8760c321a cellar understands bottle descriptions now 2017-03-23 14:23:58 -07:00
Nicholas O'Connor
0be8131606 cmake checks for cogapp module now thanks to a module I found on the Internet 2017-03-23 14:23:22 -07:00
Nicholas O'Connor
7390446b63 install rules 2017-03-23 13:36:38 -07:00
Nicholas O'Connor
91e7ba7990 cogged bottle command code, should be easier to add commands 2017-03-23 13:17:07 -07:00
Nicholas O'Connor
30d0787a62 so that's how libraries work 2017-03-23 12:06:29 -07:00
Nicholas O'Connor
64c96cba26 cogrc correction again 2017-03-23 11:13:21 -07:00
Nicholas O'Connor
b2e7b8b120 checks for tclap, assumes its in include if not 2017-03-23 11:13:00 -07:00
Nicholas O'Connor
30e98430ca add prefix to bootstrap 2017-03-23 10:50:05 -07:00
Nicholas O'Connor
7164692e1f forgot to include cmakelists changes 2017-03-23 01:03:56 -07:00
Nicholas O'Connor
fc09bf57dc switch to cmake for build system 2017-03-23 01:03:33 -07:00
Nicholas O'Connor
44a831a4b0 list command 2017-03-23 00:02:38 -07:00
Nicholas O'Connor
7f5e6088cf help and version commands, tclap dependency introduced here 2017-03-22 23:23:15 -07:00
Nicholas O'Connor
207599eab1 moved cog to compile time, now aware of its own version 2017-03-22 22:01:34 -07:00
Nicholas O'Connor
b34430b9e2 it understands it has a version now 2017-03-22 20:42:08 -07:00
Nicholas O'Connor
89738cecaa bootstrap now runs cogs on relevant files 2017-03-22 20:31:46 -07:00
Nicholas O'Connor
40ecf54856 beginnings of a cogged version file 2017-03-22 20:13:24 -07:00
Nicholas O'Connor
4ef22255b0 the humble beginnings of a command system 2017-03-22 19:34:50 -07:00
Nicholas O'Connor
9cf038ebc0 list becomes get_bottles, which returns a map<string, Bottle> 2017-03-22 19:02:14 -07:00