Skip to content

Commit

Permalink
Release abcrypt-cli version 0.2.12
Browse files Browse the repository at this point in the history
  • Loading branch information
sorairolake committed Jan 21, 2024
2 parents 9e6609c + b4e969a commit 90f9bef
Show file tree
Hide file tree
Showing 17 changed files with 316 additions and 25 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CD.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
targets: ${{ matrix.target }}
- name: Install cross
if: ${{ matrix.use-cross }}
uses: taiki-e/[email protected].2
uses: taiki-e/[email protected].7
with:
tool: cross
- name: Cache build artifacts
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ jobs:
uses: extractions/setup-just@v1
- name: Build a book
run: just build-book
- name: Minify a book
uses: docker://tdewolff/minify:latest
with:
args: --exclude "build/site/_/**" -o build/ -r build/
- name: Deploy
uses: peaceiris/[email protected]
if: startsWith(github.ref, 'refs/tags/')
Expand Down
18 changes: 9 additions & 9 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions antora-playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@ ui:
bundle:
url: https://gitlab.com/antora/antora-ui-default/-/jobs/artifacts/HEAD/raw/build/ui-bundle.zip?job=bundle-stable
snapshot: true
supplemental_files: docs/book/supplemental-ui

runtime:
log:
failure_level: warn

antora:
extensions:
- "@antora/lunr-extension"
2 changes: 1 addition & 1 deletion crates/abcrypt/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ include = ["/LICENSES", "/README.md", "/src"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
argon2 = { version = "0.5.2", default-features = false }
argon2 = { version = "0.5.3", default-features = false }
blake2 = { version = "0.10.6", default-features = false }
chacha20poly1305 = { version = "0.10.1", default-features = false, features = ["getrandom"] }
rand = { version = "0.8.5", default-features = false, features = ["getrandom", "std_rng"] }
Expand Down
7 changes: 7 additions & 0 deletions crates/cli/CHANGELOG.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ All notable changes to this project will be documented in this file.
The format is based on https://keepachangelog.com/[Keep a Changelog], and this
project adheres to https://semver.org/[Semantic Versioning].

== {compare-url}/abcrypt-cli-v0.2.11\...abcrypt-cli-v0.2.12[0.2.12] - 2024-01-21

=== Changed

* Add description about behavior of `-h`, `--help` and `--version` in man pages
({pull-request-url}/234[#234])

== {compare-url}/abcrypt-cli-v0.2.10\...abcrypt-cli-v0.2.11[0.2.11] - 2024-01-18

=== Changed
Expand Down
4 changes: 2 additions & 2 deletions crates/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

[package]
name = "abcrypt-cli"
version = "0.2.11"
version = "0.2.12"
authors.workspace = true
edition.workspace = true
rust-version.workspace = true
Expand All @@ -28,7 +28,7 @@ abcrypt = { version = "0.2.10", path = "../abcrypt", features = ["serde"] }
anyhow.workspace = true
byte-unit = "5.1.3"
clap = { workspace = true, features = ["wrap_help"] }
clap_complete = "4.4.7"
clap_complete = "4.4.8"
clap_complete_nushell = "4.4.2"
dialoguer.workspace = true
serde_json = { version = "1.0.111", optional = true }
Expand Down
8 changes: 5 additions & 3 deletions crates/cli/docs/man/man1/abcrypt-decrypt.1.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

= abcrypt-decrypt(1)
// Specify in UTC.
:docdate: 2023-09-07
:docdate: 2024-01-19
:doctype: manpage
ifdef::revnumber[:mansource: abcrypt {revnumber}]
:manmanual: General Commands Manual
Expand Down Expand Up @@ -61,11 +61,13 @@ _FILE_::

*-h*, *--help*::

Print help information.
Print help message. The short flag (*-h*) will print a condensed help message
while the long flag (*--help*) will print a detailed help message.

*-V*, *--version*::

Print version information.
Print version number. The long flag (*--version*) will also print the
copyright notice, the license notice and where to report bugs.

include::{includedir}/section-exit-status.adoc[]

Expand Down
8 changes: 5 additions & 3 deletions crates/cli/docs/man/man1/abcrypt-encrypt.1.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

= abcrypt-encrypt(1)
// Specify in UTC.
:docdate: 2023-09-07
:docdate: 2024-01-19
:doctype: manpage
ifdef::revnumber[:mansource: abcrypt {revnumber}]
:manmanual: General Commands Manual
Expand Down Expand Up @@ -84,11 +84,13 @@ _FILE_::

*-h*, *--help*::

Print help information.
Print help message. The short flag (*-h*) will print a condensed help message
while the long flag (*--help*) will print a detailed help message.

*-V*, *--version*::

Print version information.
Print version number. The long flag (*--version*) will also print the
copyright notice, the license notice and where to report bugs.

include::{includedir}/section-exit-status.adoc[]

Expand Down
8 changes: 5 additions & 3 deletions crates/cli/docs/man/man1/abcrypt-information.1.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

= abcrypt-information(1)
// Specify in UTC.
:docdate: 2023-08-27
:docdate: 2024-01-19
:doctype: manpage
ifdef::revnumber[:mansource: abcrypt {revnumber}]
:manmanual: General Commands Manual
Expand Down Expand Up @@ -41,11 +41,13 @@ endif::[]

*-h*, *--help*::

Print help information.
Print help message. The short flag (*-h*) will print a condensed help message
while the long flag (*--help*) will print a detailed help message.

*-V*, *--version*::

Print version information.
Print version number. The long flag (*--version*) will also print the
copyright notice, the license notice and where to report bugs.

include::{includedir}/section-exit-status.adoc[]

Expand Down
8 changes: 5 additions & 3 deletions crates/cli/docs/man/man1/abcrypt.1.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

= abcrypt(1)
// Specify in UTC.
:docdate: 2023-08-27
:docdate: 2024-01-19
:doctype: manpage
ifdef::revnumber[:mansource: abcrypt {revnumber}]
:manmanual: General Commands Manual
Expand Down Expand Up @@ -45,11 +45,13 @@ abcrypt format.

*-h*, *--help*::

Print help information.
Print help message. The short flag (*-h*) will print a condensed help message
while the long flag (*--help*) will print a detailed help message.

*-V*, *--version*::

Print version information.
Print version number. The long flag (*--version*) will also print the
copyright notice, the license notice and where to report bugs.

*--generate-completion* _SHELL_::

Expand Down
4 changes: 4 additions & 0 deletions docs/book/supplemental-ui/partials/footer-content.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<footer class="footer">
<p>&copy; 2022&ndash;{{year}} Shun Sakai &middot; <a href="https://creativecommons.org/licenses/by/4.0/" target="_blank">CC BY 4.0</a></p>
<p>Powered by <a href="https://antora.org/" target="_blank">Antora</a> &amp; <a href="https://gitlab.com/antora/antora-ui-default" target="_blank">Antora Default UI</a></p>
</footer>
3 changes: 3 additions & 0 deletions docs/book/supplemental-ui/partials/footer-content.hbs.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2024 Shun Sakai

SPDX-License-Identifier: CC-BY-4.0
25 changes: 25 additions & 0 deletions docs/book/supplemental-ui/partials/header-content.hbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<header class="header">
<nav class="navbar">
<div class="navbar-brand">
<a class="navbar-item" href="{{{or site.url siteRootPath}}}">{{site.title}}</a>
{{#if env.SITE_SEARCH_PROVIDER}}
<div class="navbar-item search hide-for-print">
<div id="search-field" class="field">
<input id="search-input" type="text" placeholder="Search the docs"{{#if page.home}} autofocus{{/if}}>
</div>
</div>
{{/if}}
<button class="navbar-burger" aria-controls="topbar-nav" aria-expanded="false" aria-label="Toggle main menu">
<span></span>
<span></span>
<span></span>
</button>
</div>
<div id="topbar-nav" class="navbar-menu">
<div class="navbar-end">
<a class="navbar-item" href="{{{or site.url siteRootPath}}}">Home</a>
<a class="navbar-item" href="https://github.com/sorairolake/abcrypt" target="_blank">Repository</a>
</div>
</div>
</nav>
</header>
3 changes: 3 additions & 0 deletions docs/book/supplemental-ui/partials/header-content.hbs.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2024 Shun Sakai

SPDX-License-Identifier: CC-BY-4.0
Loading

0 comments on commit 90f9bef

Please sign in to comment.