mirror of
https://github.com/timvisee/ffsend.git
synced 2025-10-06 02:29:57 +02:00
Redo CLI command handling, make it modular with detached matchers
This commit is contained in:
parent
e0e7d7d009
commit
7ced1f4278
36 changed files with 938 additions and 707 deletions
|
@ -15,6 +15,7 @@ const HEADER_AUTH_NONCE: &'static str = "WWW-Authenticate";
|
|||
|
||||
/// The default download count.
|
||||
pub const PARAMS_DEFAULT_DOWNLOAD: u8 = 1;
|
||||
pub const PARAMS_DEFAULT_DOWNLOAD_STR: &'static str = "1";
|
||||
|
||||
/// The minimum allowed number of downloads, enforced by the server.
|
||||
pub const PARAMS_DOWNLOAD_MIN: u8 = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue