Skip to content

Commit 9e89666

Browse files
authored
Merge pull request #22 from hexagonkt/develop
Add CLI options
2 parents f6451ed + dbe7f16 commit 9e89666

13 files changed

Lines changed: 311 additions & 107 deletions

File tree

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ This project has two sides:
88

99
Here you can see a [3 min quick demo](https://youtu.be/t4aOSJibuzs).
1010

11+
## 💻 Install
12+
1. Download the latest binary from the [releases page](https://github.com/hexagonkt/codecv/releases)
13+
2. Copy or link the binary to a directory in the PATH
14+
3. Type `codecv --help` to check how to use the reference tool
15+
1116
## 🤔 Motivation
1217
The format was developed and evolved with the simple requirement to store and maintain my own CV.
1318

@@ -52,7 +57,18 @@ editors to attach a schema to a file).
5257
Some formats (YAML and TOML) allow the use of a ['shebang'][shebang] to make them "executable" and
5358
launch the CV server automatically upon execution. Check the examples for more information.
5459

60+
The schema is also published in the [JSON Schema Repository](https://www.schemastore.org/json). This
61+
means that CV documents will be supported out of the box at some code editors (most notably
62+
[VS Code] and [JetBrains IDEs]).
63+
64+
It implies that you will get autocomplete, documentation and validation for the following file
65+
patterns:
66+
- `cv.{json,yaml,yml,toml}`,
67+
- `*.cv.{json,yaml,yml,toml}`,
68+
5569
[shebang]: https://en.wikipedia.org/wiki/Shebang_(Unix)
70+
[VS Code]: https://code.visualstudio.com
71+
[JetBrains IDEs]: https://www.jetbrains.com
5672

5773
## 🧰 Examples
5874
You can check some CV examples (in different formats) on the [/examples](/examples) directory.

build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ plugins {
1010

1111
val os = getProperty("os.name").lowercase()
1212

13-
val hexagonVersion = "2.8.3"
14-
val hexagonExtraVersion = "2.8.3"
13+
val hexagonVersion = "2.8.4"
14+
val hexagonExtraVersion = "2.8.4"
1515
val vertxVersion = "4.4.1"
1616

1717
val gradleScripts = "https://raw.githubusercontent.com/hexagonkt/hexagon/$hexagonVersion/gradle"

examples/full.cv.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env cv
1+
#!/usr/bin/env codecv
22

33
"$schema" = "https://raw.githubusercontent.com/hexagonkt/codecv/master/cv.schema.json"
44

examples/full.cv.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env cv
1+
#!/usr/bin/env codecv
22
# yaml-language-server: $schema=https://raw.githubusercontent.com/hexagonkt/codecv/master/cv.schema.json
33

44
$schema: https://raw.githubusercontent.com/hexagonkt/codecv/master/cv.schema.json

examples/minimum.cv.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env cv
1+
#!/usr/bin/env codecv
22

33
"$schema" = "https://raw.githubusercontent.com/hexagonkt/codecv/master/cv.schema.json"
44

examples/minimum.cv.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env cv
1+
#!/usr/bin/env codecv
22
# yaml-language-server: $schema=https://raw.githubusercontent.com/hexagonkt/codecv/master/cv.schema.json
33

44
$schema: https://raw.githubusercontent.com/hexagonkt/codecv/master/cv.schema.json

examples/modular/brief.cv.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env cv
1+
#!/usr/bin/env codecv
22
# yaml-language-server: $schema=https://raw.githubusercontent.com/hexagonkt/codecv/master/cv.schema.json
33

44
$schema: https://raw.githubusercontent.com/hexagonkt/codecv/master/cv.schema.json

examples/modular/full.cv.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env cv
1+
#!/usr/bin/env codecv
22
# yaml-language-server: $schema=https://raw.githubusercontent.com/hexagonkt/codecv/master/cv.schema.json
33

44
$schema: https://raw.githubusercontent.com/hexagonkt/codecv/master/cv.schema.json

examples/regular.cv.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env cv
1+
#!/usr/bin/env codecv
22

33
"$schema" = "https://raw.githubusercontent.com/hexagonkt/codecv/master/cv.schema.json"
44

examples/regular.cv.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env cv
1+
#!/usr/bin/env codecv
22
# yaml-language-server: $schema=https://raw.githubusercontent.com/hexagonkt/codecv/master/cv.schema.json
33

44
$schema: https://raw.githubusercontent.com/hexagonkt/codecv/master/cv.schema.json

0 commit comments

Comments
 (0)