Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

Commit

Permalink
Merge pull request #831 from cloudflare/avery/to-each-their-own-direc…
Browse files Browse the repository at this point in the history
…tory

Put each subcommand in its own directory
  • Loading branch information
ashleygwilliams authored Oct 31, 2019
2 parents edc49bc + 017781b commit e928e22
Show file tree
Hide file tree
Showing 11 changed files with 3 additions and 4 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/commands/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ pub mod config;
pub mod generate;
pub mod init;
pub mod kv;
pub mod preview;
pub mod publish;
pub mod subdomain;
pub mod whoami;
Expand All @@ -14,8 +15,7 @@ pub use build::build;
pub use build::watch_and_build;
pub use generate::generate;
pub use init::init;
pub use publish::preview::preview;
pub use publish::preview::HTTPMethod;
pub use preview::{preview, HTTPMethod};
pub use publish::publish;
use regex::Regex;
pub use subdomain::get_subdomain;
Expand Down
File renamed without changes.
File renamed without changes.
3 changes: 1 addition & 2 deletions src/commands/publish/mod.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
mod krate;
pub mod package;
pub mod preview;
mod route;
mod upload_form;
pub mod upload_form;

pub use package::Package;

Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit e928e22

Please sign in to comment.