diff --git a/docs/blog/posts/v0.10.0.md b/docs/blog/posts/v0.10.0.md index c1925d866a185d3d776e1b679f28ea93a4295908..3727c3bf28a8259e7e8f60fd33faaebfc7c9d681 100644 --- a/docs/blog/posts/v0.10.0.md +++ b/docs/blog/posts/v0.10.0.md @@ -35,7 +35,7 @@ The complete lifecycle of the revocation document and its storage in a file is n The `revocation` command comes with four sub-commands: -``` +```{..yaml .no-copy} silkaj revocation --help Usage: silkaj revocation [OPTIONS] COMMAND [ARGS]... @@ -89,7 +89,7 @@ This update brings fixes and improvements on the existing languages and brings a The display is now only displaying the embedded license files in the console, since it’s available in six up-to-date languages. -``` +```{..yaml .no-copy} silkaj license In which language would you like to display Äž1 monetary license? (es, en, eo, it, fr, pt) [en]: fr ``` diff --git a/docs/blog/posts/v0.11.0.md b/docs/blog/posts/v0.11.0.md index 1bc2398bef4f71e82bdc725e23a27c74fee15448..bcb23f30de8b8679b5349531416172802f97cd3e 100644 --- a/docs/blog/posts/v0.11.0.md +++ b/docs/blog/posts/v0.11.0.md @@ -50,7 +50,7 @@ For a comprehensive documentation, check the [installation documentation](/insta The commands have been grouped into following groups: `blockchain`, `money`, and `wot`. The other commands not related to these topics have been kept at the root of the CLI tree. -``` +```{..yaml .no-copy} silkaj --help about Display program information authentication Generate authentication file @@ -61,7 +61,7 @@ silkaj --help wot Web-of-Trust related commands ``` -``` +```{..yaml .no-copy} silkaj blockchain --help blocks Display blocks: default: 0 for current window size difficulty Display the current Proof of Work difficulty level to... @@ -69,14 +69,14 @@ silkaj blockchain --help verify Verify blocks’ signatures. ``` -``` +```{..yaml .no-copy} silkaj money --help balance Get wallet balance history Display transaction history transfer Transfer money ``` -``` +```{..yaml .no-copy} silkaj wot --help certify Send certification lookup User identifier and public key lookup @@ -87,7 +87,7 @@ silkaj wot --help In this process following commands have been renamed: -``` +```{..yaml .no-copy} diffi −> difficulty tx −> transfer cert −> certify @@ -104,7 +104,7 @@ The migration has been done. You will probably notice differences in the table s Before, with `tabulate`: -``` +```{..yaml .no-copy} | uid | blocks | percent | |-------------+----------+-----------| | vit2 | 33 | 33.0 | @@ -116,7 +116,7 @@ Before, with `tabulate`: Now, with `texttable`: -``` +```{..yaml .no-copy} │─────────────│────────│─────────│ │ uid │ blocks │ percent │ │â•â•â•â•â•â•â•â•â•â•â•â•â•│â•â•â•â•â•â•â•â•│â•â•â•â•â•â•â•â•â•│ diff --git a/docs/blog/posts/v0.11.0rc0.md b/docs/blog/posts/v0.11.0rc0.md index 79ba9c48b6a40d84126442c9f166e47b7d2115e1..eace4904a8cb74669292c833a361a5f0b1fe5f4f 100644 --- a/docs/blog/posts/v0.11.0rc0.md +++ b/docs/blog/posts/v0.11.0rc0.md @@ -60,7 +60,7 @@ Silkaj commands have been reorganized into following groups: `blockchain`, `mone Some commands not related to these contexts have been kept in the top-level group. Tell us if the new CLI design with sub-sub-commands compared to the previous one with all the commands at the top-level instead fits best, is less convenient, is following a more structured logic. -``` +```{..yaml .no-copy} Commands: about Display program information authentication Generate authentication file diff --git a/docs/blog/posts/v0.8.md b/docs/blog/posts/v0.8.md index c53696b9412facf40deef2c9dccc1fb9c3b6a533..d59d95a76f4c30c55719379fefa817c1d56be360 100644 --- a/docs/blog/posts/v0.8.md +++ b/docs/blog/posts/v0.8.md @@ -39,7 +39,7 @@ After the transaction and the certification commands, the much awaited `membersh Users can send their first membership request to be a certified member of the Äž1 community. As certified members have to renew their membership each year, this command allows to send the renewal application in question. It displays the expiration date of the current membership and indicates the identification blockstamp of the user. In the event a user forgets that they have already sent a membership request, a pop up displays if there is a pending membership request in the mempool. -``` +```{ ..yaml .no-copy } silkaj membership Please enter your Scrypt Salt (Secret identifier): Please enter your Scrypt password (masked): @@ -72,7 +72,7 @@ Do you confirm sending a membership document for this identity? [y/N]: When using the commands `wot`, `cert`, and `membership`, Silkaj used to select the first identity on the list. As this can lead to fishing, we added a new feature to pick the identity of your choice. Now, you can use the `uid` and the `pubkey` to certify an identity and study its status in the Web of Trust. Please note that identities can have the same user identifier and the same public key. -``` +```{ ..yaml .no-copy } silkaj -gt wot moul | id | uid | pubkey | timestamp | |------+-----------+--------------------------------------------------+-----------------------| @@ -105,7 +105,7 @@ v0.8.0 comes with three **breaking changes** and four small options: The follow examples illustrates the change operated on the CLI. With the previous version of Silkaj, the following procedure was operated to send one unit to `pubkey1` and `pubkey2`: -``` +```{ ..yaml .no-copy } silkaj tx --amount 1 --output <pubkey>1!<checksum1>:<pubkey2>!<checksum2> ``` @@ -129,7 +129,7 @@ We merged the relative and absolute amounts into one cell. This applies to the c To send a different amount of Äž1 to multi-recipient proceed following: -``` +```{ ..yaml .no-copy } silkaj tx -d 1 -d 2 \ -r CrznBiyq8G4RVUprH9jHmAw1n1iuzw8y9FdJbrESnaX7 \ -r d88fPFbDdJXJANHH7hedFMaRyGcnVZj9c5cDaE76LRN:FVm \ @@ -164,7 +164,7 @@ Do you confirm sending this transaction? [yes/no]: The balance of a given public key is now displayed in a table. Bellow you can find an example of such a display. -``` +```{ ..yaml .no-copy } silkaj balance 78ZwwgpgdH5uLZLbThUQH7LKwPgjMunYfLiCfUCySkM8 â•’â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•╤â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•• │ Balance of pubkey │ 78ZwwgpgdH5uLZLbThUQH7LKwPgjMunYfLiCfUCySkM8:4VT │ @@ -191,7 +191,7 @@ Cf [Forum topic](https://forum.duniter.org/t/duniter-utilise-une-ancienne-versio To verify blocks proceed following: -``` +```{ ..yaml .no-copy } silkaj verify Processing blocks verification [####################################] 100% Within 0-342803 range, blocks with a wrong signature: 15144 31202 85448 87566 90830 109327 189835 199172 221274 253582 diff --git a/docs/blog/posts/v0.9.0rc.md b/docs/blog/posts/v0.9.0rc.md index d1ff4f0616159e02b9128b68ccc7b1cfbd5479ad..c7c3f2f3b8e25fd9970ff1429d54d0c70d738430 100644 --- a/docs/blog/posts/v0.9.0rc.md +++ b/docs/blog/posts/v0.9.0rc.md @@ -25,7 +25,7 @@ Please test it globally, and check the changelog which contains the changes whic Pay a special attention to the transaction part where a part of the algorithm changed. There are new options on following commands: -``` +```{ ..yaml .no-copy } silkaj history --full-pubkey silkaj --dry-run cert silkaj --dry-run/--display membership diff --git a/docs/blog/posts/v0.9.md b/docs/blog/posts/v0.9.md index 8823466590c2b4fe4481b425ff8fe0c67d8c3861..1eca4205e279f5600b44f51e699b1196b4c716d3 100644 --- a/docs/blog/posts/v0.9.md +++ b/docs/blog/posts/v0.9.md @@ -33,7 +33,7 @@ Now the non-member user identifier are displayed. The command now uses same algorithm as `choose_identity()` which relies exclusively on `/wot/lookup` BMA's path. The command has been renamed to `lookup` to represent more closely what it does. This command renaming will also allow to introduce the future `identity` command. -``` +```{ ..yaml .no-copy } silkaj lookup titi Public keys or user id found matching 'titi': @@ -53,7 +53,7 @@ Public keys or user id found matching 'titi': The `history` command adds a new option to display the whole public keys `--full-pubkey`: -``` +```{ ..yaml .no-copy } silkaj -gt history 5B8iMAzq1dNmFe3ZxFTBQkqhq4fsztg1gZvxHXCk1XYH --full-pubkey Transactions history from: moul-test 5B8iMAzq1dNmFe3ZxFTBQkqhq4fsztg1gZvxHXCk1XYH:baK @@ -73,7 +73,7 @@ Current balance: 9012407.83 ÄžTest, 161.34 UD ÄžTest on the 2021-04-09 15:16:42 #### `balance` command is now displaying corresponding member identity user identifier -``` +```{ ..yaml .no-copy } silkaj -gt balance 5B8iMAzq1dNmFe3ZxFTBQkqhq4fsztg1gZvxHXCk1XYH â•’â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•╤â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•• │ Balance of pubkey │ 5B8iMAzq1dNmFe3ZxFTBQkqhq4fsztg1gZvxHXCk1XYH:baK │ @@ -93,7 +93,7 @@ It can be used for debugging, safety, or curiosity purposes. This option has only been implemented on the `cert` and the `membership` commands for now. The option should be available in next releases for the three others send-documents commands. -``` +```{ ..yaml .no-copy } silkaj --gtest --auth-file --display cert KapisTest â•’â•â•â•â•â•â•â•â•╤â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•╤â•â•â•â•╤â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•• │ Cert │ Issuer │ –> │ Recipient: Published: #block-hash date │ @@ -118,7 +118,7 @@ Do you confirm sending this certification? [y/N]: y Certification successfully sent. ``` -``` +```{ ..yaml .no-copy } silkaj --gtest --auth-file --display membership â•’â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•╤â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•• │ Expiration date of current membership │ in 2 months │ @@ -153,13 +153,13 @@ Membership successfully sent Before: -``` +```{ ..yaml .no-copy } silkaj membership --dry-run ``` Now: -``` +```{ ..yaml .no-copy } silkaj --dry-run membership ```