Skip to content

Commit d28e3da

Browse files
committed
qip
1 parent 1d3369d commit d28e3da

File tree

2 files changed

+6
-38
lines changed

2 files changed

+6
-38
lines changed

yarn-project/aztec/scripts/aztec.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export AZTEC_SHELL_WRAPPER=1
1414

1515
case $cmd in
1616
test)
17-
export LOG_LEVEL="${LOG_LEVEL:-info}"
17+
export LOG_LEVEL="${LOG_LEVEL:-error}"
1818
aztec start --txe --port 8081 &
1919
server_pid=$!
2020
trap 'kill $server_pid &>/dev/null || true' EXIT

yarn-project/aztec/src/cli/cli.ts

Lines changed: 5 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -35,44 +35,12 @@ export function injectAztecCommands(program: Command, userLog: LogFn, debugLogge
3535
program.addHelpText(
3636
'after',
3737
`
38+
Additional commands:
3839
39-
Additional commands:
40-
41-
init [folder] [options]: creates a new Noir project
42-
Options:
43-
--name <name> Name of the package
44-
--contract Use a contract template (default)
45-
--lib Use a library template
46-
--bin Use a binary template
47-
Examples:
48-
$ aztec init # creates a contract project in current directory
49-
$ aztec init --lib # creates a library project
50-
51-
new <path> [options]: creates a new Noir project in a new directory
52-
Options:
53-
--name <name> Name of the package
54-
--contract Use a contract template (default)
55-
--lib Use a library template
56-
--bin Use a binary template
57-
Examples:
58-
$ aztec new my-project # creates a contract project in ./my-project
59-
$ aztec new my-lib --lib # creates a library project in ./my-lib
60-
61-
compile [options]: compiles Aztec Noir contracts
62-
Compiles contracts with nargo compile and then postprocesses them to generate Aztec-specific artifacts including:
63-
- Transpiled contract artifacts
64-
- Verification keys
65-
The compiled contracts will be placed in the target/ directory by default.
66-
Supports standard nargo compile options.
67-
68-
test [options]: starts a dockerized TXE node via
69-
$ aztec start --txe
70-
then runs
71-
$ aztec test --silence-warnings --oracle-resolver=<TXE_ADDRESS> [options]
72-
73-
preload-crs: Downloads and caches the Common Reference String (CRS) data required for zero-knowledge proofs.
74-
Example:
75-
$ aztec preload-crs # preloads CRS data
40+
init [folder] [options] creates a new Aztec Noir project.
41+
new <path> [options] creates a new Aztec Noir project in a new directory.
42+
compile [options] compiles Aztec Noir contracts.
43+
test [options] starts a TXE and runs "nargo test" using it as the oracle resolver.
7644
`,
7745
);
7846
}

0 commit comments

Comments
 (0)