Ian Adam Naval
1fc595e559
Merge branch 'feature/cat' into 'master'
...
Feature/cat
Initial implementation of cat. So far, this only parses from the command line. I'll add in parsing from input frames once we work out some pipe merging issues.
See merge request !3
2014-09-25 11:18:26 -04:00
Ian Adam Naval
b6b7cb023e
Merge branch 'feature/path-search' into 'master'
...
Feature/path search
Added the PATH searching algorithm that we talked about at the last meeting with Ciaraldi. We'll need to update ls to follow the same flag standards that we are.
See merge request !4
2014-09-25 11:18:21 -04:00
9b8d1e01b6
Updated cat to use the new path searching algorithm
2014-09-24 23:39:07 -04:00
09b0c8106e
Merge branch 'feature/path-search' into feature/cat
2014-09-24 23:38:27 -04:00
f21df51bd2
Added the PATH searching algorithm we talked about at the last meeting with Ciaraldi. It will find the location of our program
...
and search the PATH for that location. If found, it will search all remaining elements for the requested program. If the location
is not found on the PATH, then it will search the entire PATH for the requested program. If found, it returns the absolute path
to the program. If not, err.
2014-09-24 23:32:11 -04:00
f11cbeaf22
Merge branch 'feature/free-testing' into 'master'
...
Feature/free testing
Moved functions around in common to keep functions related to each type together. Added in some tests for free, since I said we should do that and I hadn't.
See merge request !2
2014-09-24 22:30:42 -04:00
64600ac668
Go fmt
2014-09-24 22:29:00 -04:00
50c84a2f7d
Initial cat that parses file names from the command line
2014-09-24 22:24:46 -04:00
72c638432f
Added a test for the empty unit, moved bad unit test into a separate test function
2014-09-18 13:03:44 -04:00
a144a70a61
Added tests for free
2014-09-18 12:58:25 -04:00
0904b13546
Moved units to be with themselves in common, updated convertUnit and parseLine to be public for testing
2014-09-18 12:48:24 -04:00
5122c83609
Merge branch 'feature/standards-compliant' into 'master'
...
Feature/standards compliant
See merge request !1
2014-09-18 12:09:30 -04:00
Ian Adam Naval
58009824b6
Make ls standards compliant
...
Except we aren't using the standard JshFrame struct. We should probably
have a meeting to discuss how we're going to organize that going
forward.
2014-09-16 22:08:12 -04:00
Ian Adam Naval
dc064e8ea7
Make free standards compliant
2014-09-16 22:00:50 -04:00
Ian Adam Naval
d621f8d765
Add blank case for convertUnit
...
Assumes that it's in bytes. On my system (Arch Linux), values of 0 have
no unit printed next to them.
2014-09-16 21:55:37 -04:00
Ian Adam Naval
fb8165fa80
Make ps follow new standard
2014-09-16 21:43:43 -04:00
Ian Adam Naval
1d57896123
gofmt
2014-09-16 20:52:57 -04:00
Ian Adam Naval
b226effff0
Add free and ls to Makefile
2014-09-16 20:51:52 -04:00
Ian Adam Naval
e10794e37a
Standardize location of ls
2014-09-10 15:14:20 -04:00
Ian Adam Naval
b78852c82f
Merge remote-tracking branch 'origin/ls' into feature/ps
...
Conflicts:
README.md
2014-09-10 14:15:45 -04:00
d45666450e
now there are some command flags
2014-09-10 14:13:59 -04:00
Ian Adam Naval
238e19073c
Add 'free' to README
2014-09-10 14:12:25 -04:00
97db57bb1f
Added free implementation
2014-09-08 01:12:05 +00:00
d26ca0b13a
Moved standard binary fallback to utility function for all utilities to use
2014-09-08 01:11:30 +00:00
69f68794cf
Updated the gitignore with emacs and go profiles
2014-09-07 22:46:59 +00:00
Ian Adam Naval
65c29fef11
Improve TestToJson.
2014-09-04 02:49:55 -04:00
Ian Adam Naval
c140ec6a7d
Add test for PsOutputToProcesses.
2014-09-04 02:45:09 -04:00
Ian Adam Naval
7fbc8ebc61
Move FieldsN to utility file and add tests.
2014-09-04 02:30:52 -04:00
Ian Adam Naval
626f119ad9
Fix Makefile to correctly remove the c.out files.
2014-09-04 02:18:50 -04:00
Ian Adam Naval
4639a8c011
Add Makefile.
...
Provides targets for building, auto-formatting and testing (with and
without coverage).
2014-09-04 02:17:17 -04:00
Ian Adam Naval
e0166b98a9
Made package more go-getable.
...
Based on how the Revel project is organized.
2014-09-04 01:26:15 -04:00
Ian Adam Naval
0aba070b62
Update README with install instructions.
2014-09-03 16:01:55 -04:00
Ian Adam Naval
9525516e37
Implement rudimentary 'ps' with --json flag.
...
--json mode doesn't have any fancy command line arguments yet. Just
outputs to raw JSON. Seems to work pretty well with Underscore. Also
added some structure; we can work out how the build system will work
later.
2014-09-03 15:53:21 -04:00
865feb3584
added tiny basic ls implimentation, doesnt take any args other than the directory to list, doesnt even jsonify the output, literally bare bonest ls to make sure I can do the backend part of ls
2014-09-03 14:21:21 -04:00
Ian Adam Naval
56437f6bfa
Add status badge to README.
2014-08-29 10:56:20 -04:00
Ian Adam Naval
77f040729a
Initial commit
2014-08-28 16:00:26 -04:00