Skip to content

Commit

Permalink
Formatting 😎
Browse files Browse the repository at this point in the history
  • Loading branch information
ericthelemur committed Oct 3, 2022
1 parent 4f8269d commit d32a505
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 0 additions & 3 deletions Rocket.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,3 @@ port = 8000

[debug.databases.packagedb]
url = "packages/packagedb.sqlite"

[release.databases.packagedb]
url = "packages/packagedb.sqlite"
2 changes: 1 addition & 1 deletion dcspkg-server/src/handlers.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use crate::db::{get_all_packages, get_package_by_name, get_package_by_id, PackageDB};
use crate::db::{get_all_packages, get_package_by_id, get_package_by_name, PackageDB};
use dcspkg_common::Package;
use rocket::get;
use rocket::serde::json::Json;
Expand Down
4 changes: 2 additions & 2 deletions dcspkg/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ pub enum Command {
///List all packages available for install
List {
#[clap(long, short, action)]
json: bool
json: bool,
},
/// Install a package
Install { package: String },
///Show all installed packages and their versions
Installed {
#[clap(long, short, action)]
json: bool
json: bool,
},
///Run the executable from the package specified
Run { package: String },
Expand Down

0 comments on commit d32a505

Please sign in to comment.