aoc_cli 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +2 -0
- data/CHANGELOG.md +6 -0
- data/README.md +25 -11
- data/aoc_cli.gemspec +1 -1
- data/lib/aoc_cli/help.rb +4 -1
- data/lib/aoc_cli/interface.rb +2 -0
- data/lib/aoc_cli/version.rb +1 -1
- data/lib/aoc_cli/year.rb +1 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 48d955e92e44900dc1e8055d26e2e8ce92bd1516ac57c18dd946cb6e53ad7666
|
4
|
+
data.tar.gz: b9138b981d6d99454f247f1fe20767923e563dce0189cc2b231868dc23a20f83
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 88766c1b68f745590eb203475e20336e07e9a228519745b5a46bdfb1fe5e5137cf4f48867f818a219b84e500ca581c6584465aa1c47154b59e5d91b5a536411c
|
7
|
+
data.tar.gz: c9801850f6b949c5a87e601fcb0d61359e43770bbf693208f711c7a543b91fabf9461781f757c4cb854a160e875b4081985eb95f04ea11d400ba2260cae35ba3
|
data/CHANGELOG.md
CHANGED
@@ -23,3 +23,9 @@
|
|
23
23
|
### 0.2.1
|
24
24
|
- Add day_dir_prefix option
|
25
25
|
- Add functionality to prevent duplicate incorrect attempts
|
26
|
+
|
27
|
+
## 22-02-21
|
28
|
+
### 0.2.2
|
29
|
+
- Year refresh now creates the calendar table if it does not exist
|
30
|
+
- Update terminal-table version requirements
|
31
|
+
- Add version flag
|
data/README.md
CHANGED
@@ -4,7 +4,31 @@
|
|
4
4
|
|
5
5
|
A command-line interface to interact with Advent of Code puzzles, built in Ruby.
|
6
6
|
|
7
|
-
##
|
7
|
+
## Main Features
|
8
|
+
- Download puzzles as markdown and raw inputs directly from the command line
|
9
|
+
- Submit answers for puzzles and receive feedback
|
10
|
+
- Track progress through your calendar file which is automatically updated as you progress
|
11
|
+
- View data about how you answer puzzles, for example your previous attempts, how long it takes to solve a puzzle successfully and how many attempts it took you
|
12
|
+
- Inputs and puzzles are cached locally to prevent strain on AoC server
|
13
|
+
- Automatic git initialisation
|
14
|
+
- Hot keys to open solution megathreads in Reddit if you get stuck
|
15
|
+
- Support for multiple AoC accounts by use of session-key aliases
|
16
|
+
|
17
|
+
### Note to Existing Users
|
18
|
+
- If you are having any issues with the calendar table, run `aoc -r` in your year directory to update and refresh your directory
|
19
|
+
|
20
|
+
## Whats New
|
21
|
+
|
22
|
+
### New to 0.2.2
|
23
|
+
- Year refresh now creates the calendar table if it does not exist
|
24
|
+
- Update terminal-table version requirements
|
25
|
+
- Add version flag
|
26
|
+
|
27
|
+
### New to 0.2.1
|
28
|
+
- Day subdir prefix functionality
|
29
|
+
- Duplicate incorrect attempts prevented
|
30
|
+
|
31
|
+
### New to 0.2.0
|
8
32
|
- Calendar progress tables
|
9
33
|
- Quick-print calendar from any directory
|
10
34
|
- Configuration expansion
|
@@ -16,16 +40,6 @@ A command-line interface to interact with Advent of Code puzzles, built in Ruby.
|
|
16
40
|
- Better default alias handling
|
17
41
|
- General bug fixes
|
18
42
|
|
19
|
-
## Main Features
|
20
|
-
- Download puzzles as markdown and raw inputs directly from the command line
|
21
|
-
- Submit answers for puzzles and receive feedback
|
22
|
-
- Track progress through your calendar file which is automatically updated as you progress
|
23
|
-
- View data about how you answer puzzles, for example your previous attempts, how long it takes to solve a puzzle successfully and how many attempts it took you
|
24
|
-
- Inputs and puzzles are cached locally to prevent strain on AoC server
|
25
|
-
- Automatic git initialisation
|
26
|
-
- Hot keys to open solution megathreads in Reddit if you get stuck
|
27
|
-
- Support for multiple AoC accounts by use of session-key aliases
|
28
|
-
|
29
43
|
|
30
44
|
## Installation
|
31
45
|
|
data/aoc_cli.gemspec
CHANGED
data/lib/aoc_cli/help.rb
CHANGED
@@ -16,13 +16,16 @@ Advent of Code - cli, version #{AocCli::VERSION}
|
|
16
16
|
#{title("Usage")}
|
17
17
|
#{" aoc".bold + " -flag".italic.yellow + " value".bold.blue}
|
18
18
|
|
19
|
+
#{title("General")}
|
20
|
+
#{flag("-v","--version")}Print version
|
21
|
+
#{flag("-h","--help")}Print this screen
|
22
|
+
|
19
23
|
#{title("Setup")}
|
20
24
|
- Store session cookie keys to access AoC
|
21
25
|
|
22
26
|
#{flag("-k","--key")}Store a session cookie to use the cli.
|
23
27
|
#{flag("-u","--user")}Set alias for key (default: "main")
|
24
28
|
#{flag("-U","--default")}Get/set default alias
|
25
|
-
#{flag("-h","--help")}Print this screen
|
26
29
|
|
27
30
|
#{title("Year Directory")}
|
28
31
|
- Initialise a year directory to use aoc-cli.
|
data/lib/aoc_cli/interface.rb
CHANGED
data/lib/aoc_cli/version.rb
CHANGED
data/lib/aoc_cli/year.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aoc_cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christian Welham
|
@@ -84,16 +84,16 @@ dependencies:
|
|
84
84
|
name: terminal-table
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - "
|
87
|
+
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
89
|
+
version: 3.0.0
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - "
|
94
|
+
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
96
|
+
version: 3.0.0
|
97
97
|
description: A command-line interface for the Advent of Code puzzles. Features include
|
98
98
|
downloading puzzles and inputs, solving puzzles and tracking year progress from
|
99
99
|
within the terminal
|