Add value hints to arguments

dblsaiko
Jan 4, 2024, 6:11 PM
QQS7LII4MKQWKPYJXSZVOKLZ2ZSWQOMHHE6T22DJ4CL5I6YRGJLQC

Dependencies

  • [2] JG3MWHEN commands/change: help messages
  • [3] 34Q5U4HL Updating the channel touched time after a clone
  • [4] E6IKUIPD Command to delete a tag
  • [5] S7MPXAPH Removing warnings in pijul::commands::git
  • [6] YXAVFTPP Allowing vertex buffer to use references to the transaction, by changing `output::output` to take an ArcTxn<T> instead of a simple T
  • [7] FF4TXHN5 In `pijul git`, avoid diffing files not modified by a commit
  • [8] GQTC4TJA show first line of change message in conflict markers
  • [9] VWJ2JL63 Adding a `pijul dependents` command to list the transitive closure of the reverse dependency relation
  • [10] LZOGKBJX new command `pijul client` for authenticating to a HTTP server
  • [11] 5DVRL6MF Hard-unrecord
  • [12] AEPEFS7O Write help for each argument
  • [13] ZHABNS3S Canonicalize all paths
  • [14] Y7YAFMFF Fix path prefix striping on Windows.
  • [15] QYY37T6Y Fixing a panic with reset --dry-run and no input
  • [16] A7NTQINQ pijul channel delete: error if channel doesn't exist
  • [17] IKZBGTGQ Handle absence of keyring as warning rather than error
  • [18] SXEYMYF7 Fixing the bad changes in history (unfortunately, by rebooting).
  • [19] NS36CJCO Validating timestamps in record
  • [20] SLJ3OHD4 unrecord: show list of changes if none were given as arguments
  • [21] STOFOQI4 Fixing a bug in `pijul dependents` where non-dependents could be listed (and making the command deterministic)
  • [22] QWD7UE76 push/pull: rename `channel` option
  • [23] 5HF7C67M push/pull: fixed "changes" arguments
  • [24] 4H2XTVJ2 Fix some mistakes in the docs
  • [25] BD5PC25A Deleting conflict resolution vertices when the sides are deleted
  • [26] 6FRPUHWK Fix identity tests
  • [27] VNBLGT6G Do not output unmodified files when resetting (fix)
  • [28] 5BRU2RRW Cleanup (debugging a crash related to trees/inodes)
  • [29] RP7YRM5Q Import Git repos without writing anything to disk
  • [30] VQPAUKBQ channel switch as an alias to reset
  • [31] GHO6DWPI Refactoring iterators
  • [32] MU5GSJAW Partial push and pull (WARNING: breaks the existing protocol)
  • [33] 4KJ45IJL Implement new identity management
  • [34] FY6SDCTO Readibility improvements in `pijul client`
  • [35] L4JXJHWX pijul/*: reorganize imports and remove extern crate
  • [36] ZDK3GNDB Tag transactions (including a massive refactoring of errors)
  • [37] 2UTQVDLP Do not create an archive if the prefix is absolute
  • [38] OU6JOR3C Add path filtering for log, add json output for log
  • [39] I52XSRUH Massive cleanup, and simplification
  • [40] 6ZHY3XTG Updating deprecated methods in clap
  • [41] BPCAJCLT Use RFC2822 date formatting in `log`, `tag`, and `record --timestamp`
  • [42] 3FTEGCMR add timestamp_validator to tag --timestamp option
  • [43] KWAMD2KR A few fixes in the documentation comments
  • [44] XRXPK45N Making `pijul dependents` deterministic
  • [45] QL6K2ZM3 Tags
  • [46] KKNMDXAI Tweak identity subcommand
  • [47] WMS44NF5 Require --no-prompt for --read-password
  • [48] GUL4M5FI Cleanup and formatting
  • [49] I24UEJQL Various post-fire fixes
  • [50] WW2EOFBB Umask in archives
  • [51] AAXP2534 Tags: completing the subcommand
  • [52] L3RCAPPK Add --repository to tag commands
  • [53] DO2Y5TY5 Tag synchronisation
  • [54] Q4SVMHAE Removing --channel from the changes command
  • [55] OU243LAB Support for staging
  • [56] 3H6Q5LDS Fixing a bug with the salt argument in `mv`
  • [57] PIQCNEEB Upgrading to Clap 3.0.0-alpha.5
  • [58] CCLLB7OI Upgrading to Sanakirja 0.15 + version bump
  • [59] R3H7D42U Debugging `pijul git`: proper error reporting
  • [60] GBLM3JLR Fix options of git subcommand
  • [61] FMKKWCFV Better clap attributes

Change contents

  • replacement in pijul/src/commands/unrecord.rs at line 7
    [11.899][11.130:148]()
    use clap::Parser;
    [11.899]
    [11.19]
    use clap::{Parser, ValueHint};
  • replacement in pijul/src/commands/unrecord.rs at line 15
    [11.299][11.95831:95864](),[11.299][11.95831:95864](),[11.301][11.95831:95864](),[11.95831][11.95831:95864]()
    #[clap(long = "repository")]
    [11.301]
    [11.95864]
    #[clap(long = "repository", value_hint = ValueHint::DirPath)]
  • replacement in pijul/src/commands/tag.rs at line 7
    [11.203][11.175:193]()
    use clap::Parser;
    [11.203]
    [11.219]
    use clap::{Parser, ValueHint};
  • replacement in pijul/src/commands/tag.rs at line 16
    [11.32][11.26419:26452]()
    #[clap(long = "repository")]
    [11.32]
    [11.26452]
    #[clap(long = "repository", value_hint = ValueHint::DirPath)]
  • replacement in pijul/src/commands/tag.rs at line 31
    [11.178][11.178:215]()
    #[clap(long = "repository")]
    [11.178]
    [11.215]
    #[clap(long = "repository", value_hint = ValueHint::DirPath)]
  • replacement in pijul/src/commands/tag.rs at line 51
    [11.430][11.430:467]()
    #[clap(long = "repository")]
    [11.430]
    [11.467]
    #[clap(long = "repository", value_hint = ValueHint::DirPath)]
  • replacement in pijul/src/commands/tag.rs at line 65
    [4.273][4.273:310]()
    #[clap(long = "repository")]
    [4.273]
    [4.310]
    #[clap(long = "repository", value_hint = ValueHint::DirPath)]
  • replacement in pijul/src/commands/tag.rs at line 76
    [11.5490][11.5490:5527]()
    #[clap(long = "repository")]
    [11.5490]
    [11.5527]
    #[clap(long = "repository", value_hint = ValueHint::DirPath)]
  • replacement in pijul/src/commands/reset.rs at line 6
    [11.38][11.285:303]()
    use clap::Parser;
    [11.38]
    [11.0]
    use clap::{Parser, ValueHint};
  • replacement in pijul/src/commands/reset.rs at line 17
    [11.449][11.97841:97874](),[11.452][11.97841:97874](),[11.623][11.97841:97874](),[11.97841][11.97841:97874]()
    #[clap(long = "repository")]
    [11.452]
    [11.290]
    #[clap(long = "repository", value_hint = ValueHint::DirPath)]
  • edit in pijul/src/commands/reset.rs at line 29
    [11.848]
    [11.417]
    #[clap(value_hint = ValueHint::FilePath)]
  • replacement in pijul/src/commands/record.rs at line 8
    [11.101821][11.381:399]()
    use clap::Parser;
    [11.101821]
    [11.101821]
    use clap::{Parser, ValueHint};
  • replacement in pijul/src/commands/record.rs at line 37
    [11.814][11.102394:102427](),[11.830][11.102394:102427](),[11.1206][11.102394:102427](),[11.102394][11.102394:102427]()
    #[clap(long = "repository")]
    [11.814]
    [11.102427]
    #[clap(long = "repository", value_hint = ValueHint::DirPath)]
  • replacement in pijul/src/commands/pushpull.rs at line 7
    [11.6867][11.609:627]()
    use clap::Parser;
    [11.6867]
    [11.1712]
    use clap::{Parser, ValueHint};
  • replacement in pijul/src/commands/pushpull.rs at line 24
    [11.965][11.111977:112010](),[11.1105][11.111977:112010](),[11.1499][11.111977:112010](),[11.111977][11.111977:112010]()
    #[clap(long = "repository")]
    [11.965]
    [11.112010]
    #[clap(long = "repository", value_hint = ValueHint::DirPath)]
  • replacement in pijul/src/commands/pushpull.rs at line 78
    [11.1193][11.113077:113110](),[11.1614][11.113077:113110](),[11.113077][11.113077:113110]()
    #[clap(long = "repository")]
    [11.1193]
    [11.113110]
    #[clap(long = "repository", value_hint = ValueHint::DirPath)]
  • replacement in pijul/src/commands/pushpull.rs at line 94
    [11.1332][11.113380:113407](),[11.1798][11.113380:113407](),[11.113380][11.113380:113407]()
    #[clap(long = "path")]
    [11.1332]
    [11.6868]
    #[clap(long = "path", value_hint = ValueHint::AnyPath)]
  • replacement in pijul/src/commands/pushpull.rs at line 109
    [11.1116][11.113567:113600](),[11.1559][11.113567:113600](),[11.2103][11.113567:113600](),[11.113567][11.113567:113600]()
    #[clap(long = "repository")]
    [11.1116]
    [11.113600]
    #[clap(long = "repository", value_hint = ValueHint::DirPath)]
  • replacement in pijul/src/commands/pushpull.rs at line 128
    [11.2373][11.223:250](),[11.113993][11.223:250]()
    #[clap(long = "path")]
    [11.2373]
    [11.6892]
    #[clap(long = "path", value_hint = ValueHint::AnyPath)]
  • replacement in pijul/src/commands/log.rs at line 9
    [11.16943][11.816:834]()
    use clap::Parser;
    [11.16943]
    [11.134430]
    use clap::{Parser, ValueHint};
  • replacement in pijul/src/commands/log.rs at line 24
    [11.1418][11.134600:134633](),[11.2115][11.134600:134633](),[11.2883][11.134600:134633](),[11.134600][11.134600:134633]()
    #[clap(long = "repository")]
    [11.1418]
    [11.134633]
    #[clap(long = "repository", value_hint = ValueHint::DirPath)]
  • replacement in pijul/src/commands/init.rs at line 3
    [11.2185][11.988:1006]()
    use clap::Parser;
    [11.2185]
    [11.3397]
    use clap::{Parser, ValueHint};
  • edit in pijul/src/commands/init.rs at line 19
    [11.3178]
    [11.136728]
    #[clap(value_hint = ValueHint::DirPath)]
  • replacement in pijul/src/commands/identity.rs at line 19
    [11.41205][11.41205:41239]()
    use clap::{ArgGroup, Parser};
    [11.41205]
    [11.41239]
    use clap::{ArgGroup, Parser, ValueHint};
  • replacement in pijul/src/commands/identity.rs at line 85
    [11.43246][11.43246:43300]()
    #[clap(long = "username", display_order = 3)]
    [11.43246]
    [11.43300]
    #[clap(long = "username", display_order = 3, value_hint = ValueHint::Username)]
  • replacement in pijul/src/commands/identity.rs at line 129
    [11.45048][11.45048:45102]()
    #[clap(long = "username", display_order = 3)]
    [11.45048]
    [11.45102]
    #[clap(long = "username", display_order = 3, value_hint = ValueHint::Username)]
  • replacement in pijul/src/commands/git.rs at line 2
    [11.857][5.0:18]()
    use clap::Parser;
    [11.819]
    [11.888]
    use clap::{Parser, ValueHint};
  • edit in pijul/src/commands/git.rs at line 15
    [7.156]
    [7.156]
    #[clap(value_hint = ValueHint::DirPath)]
  • edit in pijul/src/commands/git.rs at line 18
    [11.1692]
    [7.192]
    #[clap(value_hint = ValueHint::DirPath)]
  • replacement in pijul/src/commands/git.rs at line 21
    [11.1785][5.19:60]()
    #[clap(long = "stats", hide = true)]
    [11.1785]
    [11.137505]
    #[clap(long = "stats", hide = true, value_hint = ValueHint::FilePath)]
  • replacement in pijul/src/commands/fork.rs at line 3
    [11.2334][11.1093:1111]()
    use clap::Parser;
    [11.2334]
    [11.4083]
    use clap::{Parser, ValueHint};
  • replacement in pijul/src/commands/fork.rs at line 12
    [11.2110][11.168042:168075](),[11.2377][11.168042:168075](),[11.3328][11.168042:168075](),[11.168042][11.168042:168075]()
    #[clap(long = "repository")]
    [11.2110]
    [11.168075]
    #[clap(long = "repository", value_hint = ValueHint::DirPath)]
  • replacement in pijul/src/commands/file_operations.rs at line 5
    [11.647][11.250:268]()
    use clap::Parser;
    [11.647]
    [11.4127]
    use clap::{Parser, ValueHint};
  • edit in pijul/src/commands/file_operations.rs at line 19
    [11.3788]
    [11.169313]
    #[clap(value_hint = ValueHint::AnyPath)]
  • replacement in pijul/src/commands/diff.rs at line 6
    [11.1104][11.1276:1294]()
    use clap::Parser;
    [11.1104]
    [11.2570]
    use clap::{Parser, ValueHint};
  • replacement in pijul/src/commands/diff.rs at line 16
    [11.2865][11.173780:173813](),[11.173780][11.173780:173813]()
    #[clap(long = "repository")]
    [11.2865]
    [11.173813]
    #[clap(long = "repository", value_hint = ValueHint::DirPath)]
  • replacement in pijul/src/commands/dependents.rs at line 3
    [9.288][9.288:306]()
    use clap::Parser;
    [9.288]
    [9.306]
    use clap::{Parser, ValueHint};
  • replacement in pijul/src/commands/dependents.rs at line 11
    [9.468][9.468:522]()
    #[clap(long = "repository", value_name = "PATH")]
    [9.468]
    [9.522]
    #[clap(long = "repository", value_name = "PATH", value_hint = ValueHint::DirPath)]
  • replacement in pijul/src/commands/debug.rs at line 5
    [11.17728][11.1368:1386]()
    use clap::Parser;
    [11.17728]
    [11.0]
    use clap::{Parser, ValueHint};
  • replacement in pijul/src/commands/debug.rs at line 11
    [11.4276][11.177879:177912](),[11.177879][11.177879:177912]()
    #[clap(long = "repository")]
    [11.177879]
    [11.177912]
    #[clap(long = "repository", value_hint = ValueHint::DirPath)]
  • replacement in pijul/src/commands/credit.rs at line 6
    [11.728][11.1413:1431]()
    use clap::Parser;
    [11.728]
    [8.0]
    use clap::{Parser, ValueHint};
  • replacement in pijul/src/commands/credit.rs at line 17
    [11.3181][11.178973:179006](),[11.3410][11.178973:179006](),[11.4452][11.178973:179006](),[11.178973][11.178973:179006]()
    #[clap(long = "repository")]
    [11.3410]
    [11.179006]
    #[clap(long = "repository", value_hint = ValueHint::DirPath)]
  • edit in pijul/src/commands/credit.rs at line 23
    [11.3211]
    [11.179097]
    #[clap(value_hint = ValueHint::FilePath)]
  • replacement in pijul/src/commands/clone.rs at line 5
    [11.18591][11.1458:1476]()
    use clap::Parser;
    [11.18591]
    [3.0]
    use clap::{Parser, ValueHint};
  • edit in pijul/src/commands/clone.rs at line 30
    [11.3553]
    [11.183770]
    #[clap(value_hint = ValueHint::DirPath)]
  • replacement in pijul/src/commands/client.rs at line 1
    [10.4568][10.4569:4587]()
    use clap::Parser;
    [10.4568]
    [10.4587]
    use clap::{Parser, ValueHint};
  • replacement in pijul/src/commands/client.rs at line 14
    [10.4908][10.4908:4940]()
    #[clap(value_name = "URL")]
    [10.4908]
    [10.4940]
    #[clap(value_name = "URL", value_hint = ValueHint::Url)]
  • replacement in pijul/src/commands/channel.rs at line 7
    [11.18687][11.1503:1521]()
    use clap::Parser;
    [11.18687]
    [11.943]
    use clap::{Parser, ValueHint};
  • replacement in pijul/src/commands/channel.rs at line 14
    [11.3549][11.187058:187091](),[11.3704][11.187058:187091](),[11.5329][11.187058:187091](),[11.187058][11.187058:187091]()
    #[clap(long = "repository")]
    [11.3704]
    [11.187091]
    #[clap(long = "repository", value_hint = ValueHint::DirPath)]
  • replacement in pijul/src/commands/change.rs at line 3
    [11.3107][11.1574:1592]()
    use clap::Parser;
    [11.3107]
    [11.189362]
    use clap::{Parser, ValueHint};
  • replacement in pijul/src/commands/change.rs at line 12
    [2.68][2.68:122]()
    #[clap(long = "repository", value_name = "PATH")]
    [2.68]
    [11.189547]
    #[clap(long = "repository", value_name = "PATH", value_hint = ValueHint::DirPath)]
  • replacement in pijul/src/commands/archive.rs at line 4
    [11.18][11.1619:1637]()
    use clap::Parser;
    [11.18]
    [6.1796]
    use clap::{Parser, ValueHint};
  • replacement in pijul/src/commands/archive.rs at line 13
    [11.3699][11.191291:191324](),[11.3855][11.191291:191324](),[11.5479][11.191291:191324](),[11.191291][11.191291:191324]()
    #[clap(long = "repository")]
    [11.3855]
    [11.191324]
    #[clap(long = "repository", value_hint = ValueHint::DirPath)]
  • replacement in pijul/src/commands/archive.rs at line 37
    [11.5794][11.191742:191767](),[11.191742][11.191742:191767]()
    #[clap(short = 'o')]
    [11.5794]
    [11.191767]
    #[clap(short = 'o', value_hint = ValueHint::FilePath)]
  • replacement in pijul/src/commands/apply.rs at line 4
    [11.584][11.1664:1682]()
    use clap::Parser;
    [11.584]
    [11.194343]
    use clap::{Parser, ValueHint};
  • replacement in pijul/src/commands/apply.rs at line 16
    [11.4006][11.194540:194573](),[11.4165][11.194540:194573](),[11.5944][11.194540:194573](),[11.194540][11.194540:194573]()
    #[clap(long = "repository")]
    [11.4006]
    [11.194573]
    #[clap(long = "repository", value_hint = ValueHint::DirPath)]