Commit graph

56 commits

Author SHA1 Message Date
Michael Schneider
587d84a671 Address comments
- Url encode appName
- Add attribution for synchronous NSURLSession code
- Run script/sort
- Add ResultKeys struct for json keys
2016-04-15 06:53:58 -07:00
Michael Schneider
e27b963d22 Add ability to search apps from the MAS via name 2016-04-14 09:21:25 -07:00
Andrew Naylor
30f9bc98ae Preparing release 1.1.3 2016-02-21 22:16:27 +00:00
Andrew Naylor
1a4af7a897 Ensure we don't blow up
If we're going to depend on the dispatch_group we should ensure we enter
before it could possibly be exited. In reality it should never happy as
`purchase.perform` does an XPC call but there's no harm in being
cautious.
2016-02-21 22:14:14 +00:00
Andrew Naylor
e11cb8c783 Return an error instead of exiting 2016-02-21 20:39:34 +00:00
Andrew Naylor
3bd11d4a23 Preparing release 1.1.2 2016-02-21 12:53:18 +00:00
Andrew Naylor
337d51dd37 Preparing release 1.1.1 2016-02-21 12:44:19 +00:00
Andrew Naylor
937b60d6ad Bump version number to 1.1.0 2016-02-14 01:42:27 +00:00
Andrew Naylor
0dac33510c Add a command to sign out of MAS 2016-02-14 01:34:49 +00:00
Andrew Naylor
490c73c6ac Use a guard instead to make it tidier 2016-02-14 01:34:32 +00:00
Andrew Naylor
d80ad6e866 Add sign in functionality 2016-02-14 01:34:27 +00:00
Andrew Naylor
d9fe427031 Bump version number to 1.0.2 2015-12-31 01:54:42 +00:00
Andrew Naylor
50c47b1477 Fix the options parsing for the Install command
Oops.
2015-12-31 01:54:04 +00:00
Andrew Naylor
ed2f7b80b3 Bump version to 1.0.1 2015-12-31 01:41:49 +00:00
Andrew Naylor
8c0f3e0386 Upgrade to latest Commandant 2015-12-30 22:00:32 +00:00
Andrew Naylor
c3519ddd69 Add upgrade command to install pending updates 2015-12-30 22:00:32 +00:00
Andrew Naylor
3e8f48ad32 Ensure the clearLine method works properly 2015-09-21 00:47:16 +01:00
Andrew Naylor
3ccfd93f80 Remove the need for casting 2015-09-21 00:00:05 +01:00
Andrew Naylor
502f8d1523 Include the new version number in outdated 2015-09-20 23:46:20 +01:00
Andrew Naylor
4f06f18a57 Remove the unnecessary actionParams 2015-09-20 23:42:00 +01:00
Andrew Naylor
43ba372332 Improve description for version command 2015-09-20 23:33:55 +01:00
Andrew Naylor
6042bccbe6 Use the built-in method for including Info.plist 2015-09-20 23:23:47 +01:00
Andrew Naylor
5ddc2ae45b Sort the xcscheme 2015-09-20 23:23:27 +01:00
Andrew Naylor
111383fdb2 Don't show progress until we have a state 2015-09-20 23:10:46 +01:00
Andrew Naylor
de1d921ba3 Ensure we flush when the line is cleared 2015-09-20 23:03:06 +01:00
Andrew Naylor
44da5a3638 Switch to a guard 2015-09-20 22:58:58 +01:00
Andrew Naylor
dc935e0d15 Ensure we only display terminal codes in a tty 2015-09-20 19:10:43 +01:00
Andrew Naylor
f380bca601 Clear the line in case the progress bar was shown 2015-09-20 19:10:13 +01:00
Andrew Naylor
7828137a14 Add a Version command to the utility 2015-09-20 11:40:55 +01:00
Andrew Naylor
b019521b11 Embed an Info.plist file into the binary 2015-09-20 11:14:06 +01:00
Andrew Naylor
4bbd964c2e Update to Swift 2 2015-09-14 09:51:09 +01:00
Andrew Naylor
b1ad9af105 Move Headers to "PrivateHeaders" 2015-09-14 09:28:41 +01:00
Andrew Naylor
6ef4d842ed Remove unnecessary headers 2015-09-14 09:26:03 +01:00
Andrew Naylor
bc15c02395 Put headers in the HEADER_SEARCH_PATHS 2015-09-14 09:10:24 +01:00
Andrew Naylor
a0bf8529fb Rename the commands to be more like homebrew 2015-09-13 23:14:56 +01:00
Andrew Naylor
69828f6404 Write the error to stderr for ease-of-use 2015-09-04 00:38:54 +01:00
Andrew Naylor
9205b94155 Add a little more order to the download process 2015-09-04 00:13:47 +01:00
Andrew Naylor
41ceab2c3a Begin to refactor the download process 2015-08-25 02:45:54 +08:00
Andrew Naylor
83291f2fc6 Guard against not being signed in with an error 2015-08-25 02:45:27 +08:00
Andrew Naylor
b3c64f7514 List updates in a simpler form 2015-08-25 02:43:15 +08:00
Andrew Naylor
6481d82029 Suppress unnecessary output during install 2015-08-22 19:29:56 +08:00
Andrew Naylor
fd658835e9 Use a loop instead of Map for printing 2015-08-22 19:29:22 +08:00
Andrew Naylor
4ebd0ebb17 Collect together the AppStore interfaces 2015-08-22 02:48:00 +08:00
Andrew Naylor
edfc1403c2 Remove unused imports 2015-08-22 02:22:55 +08:00
Andrew Naylor
0bc51ede97 Remove the unused store client 2015-08-22 02:22:44 +08:00
Andrew Naylor
95f42de3d9 Move the function to where it's used 2015-08-22 02:22:06 +08:00
Andrew Naylor
9c145ff146 Explicitly flush instead of unbuffering stdout 2015-08-22 02:14:37 +08:00
Andrew Naylor
493308abf9 Prevent progress bar if output is being piped 2015-08-22 02:11:36 +08:00
Andrew Naylor
83726c76be Improve the progress bar appearance 2015-08-22 02:01:56 +08:00
Andrew Naylor
705a2eb315 Simplify the string interpolation 2015-08-21 23:15:25 +08:00