You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Interactive. In this mode CLI reads commands from terminal interactively. To start this mode just run `indy-cli` without params.
26
-
* Batch. In this mode all commands will be read from text file or pipe and executed in series. To start this mode run `indy-cli <path-to-text-file>`. Batch mode supports the same commands as interactive mode. Note that by default if some command finishes with the error batch execution will be interrupted. To prevent this start command with `-`. For example, `-wallet create test`. In this case the result of this command will be ignored.
25
+
* Interactive. In this mode CLI reads commands from terminal interactively. To start this mode just run `indy-cli`
26
+
without params.
27
+
* Batch. In this mode all commands will be read from text file or pipe and executed in series. To start this mode run
28
+
`indy-cli <path-to-text-file>`. Batch mode supports the same commands as interactive mode. Note that by default if some
29
+
command finishes with an error batch execution will be interrupted. To prevent this start command with `-`.
30
+
For example, `-wallet create test`. In this case the result of this command will be ignored. Comments can also be made
31
+
by beginning the line with a `#`.
27
32
28
33
### Getting help
29
-
The most simple way is just start cli by `indy-cli` command and put `help` command. Also you can look to [Indy CLI Design](../doc/cli-design.md) doc that contains the list of commands and architecture overview.
34
+
The most simple way is just start cli by `indy-cli` command and put `help` command. Also you can look to
35
+
[Indy CLI Design](../doc/cli-design.md) doc that contains the list of commands and architecture overview.
30
36
31
37
### Old python-based CLI migration
32
-
It is possible to import did's stored in the wallet of deprecated python-based CLI tool.
38
+
It is possible to import did's stored in the wallet of deprecated python-based CLI tool.
33
39
To achieve this user needs to perform the following steps:
34
-
1. Execute script on machine with installed old python-based CLI.
40
+
1. Execute script on machine with installed old python-based CLI.
35
41
```
36
42
indy_old_cli_export_dids [-e <env name>] -w <wallet name> [-f <path to the result file>]
37
43
```
38
-
This script will export DIDs stored in specified wallet into the result file.
39
-
By default, this file creates in current folder and has the following name:
44
+
This script will export DIDs stored in specified wallet into the result file.
45
+
By default, this file creates in current folder and has the following name:
40
46
```
41
47
<env name>_<wallet name>.exp_wallet
42
48
```
43
49
2. [Install Indy-Cli](#binaries)
44
50
3. Import generated file into libindy wallet by using Indy CLI
45
-
* Run Indy CLI
51
+
* Run Indy CLI
46
52
* Open new target wallet (create if needed) in CLI
47
-
* Run
53
+
* Run
48
54
```
49
55
did import <path to the file created on first step>
0 commit comments