snarkvm_debug/cli/commands/
mod.rs

1// Copyright (C) 2019-2023 Aleo Systems Inc.
2// This file is part of the snarkVM library.
3
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at:
7// http://www.apache.org/licenses/LICENSE-2.0
8
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15pub mod build;
16pub use build::*;
17
18pub mod clean;
19pub use clean::*;
20
21pub mod execute;
22pub use execute::*;
23
24pub mod new;
25pub use new::*;
26
27pub mod run;
28pub use run::*;
29
30pub mod update;
31pub use update::*;
32
33use crate::{
34    console::program::{Identifier, Locator, ProgramID, Value},
35    ledger::block::Transaction,
36    package::Package,
37};
38
39use anyhow::Result;
40use clap::Parser;
41use colored::Colorize;
42use core::str::FromStr;
43use std::collections::HashMap;
44
45pub const LOCALE: &num_format::Locale = &num_format::Locale::en;
46
47pub(crate) type CurrentNetwork = crate::prelude::Testnet3;
48pub(crate) type Aleo = crate::circuit::AleoV0;