diff --git a/Cargo.lock b/Cargo.lock index e042be7..47a033b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2,6 +2,12 @@ # It is not intended for manual editing. version = 3 +[[package]] +name = "android-tzdata" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0" + [[package]] name = "android_system_properties" version = "0.1.5" @@ -13,9 +19,9 @@ dependencies = [ [[package]] name = "anstream" -version = "0.6.14" +version = "0.6.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "418c75fa768af9c03be99d17643f93f79bbba589895012a80e3452a19ddda15b" +checksum = "64e15c1ab1f89faffbf04a634d5e1962e9074f2741eef6d97f3c4e322426d526" dependencies = [ "anstyle", "anstyle-parse", @@ -28,36 +34,36 @@ dependencies = [ [[package]] name = "anstyle" -version = "1.0.0" +version = "1.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41ed9a86bf92ae6580e0a31281f65a1b1d867c0cc68d5346e2ae128dddfa6a7d" +checksum = "1bec1de6f59aedf83baf9ff929c98f2ad654b97c9510f4e70cf6f661d49fd5b1" [[package]] name = "anstyle-parse" -version = "0.2.0" +version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e765fd216e48e067936442276d1d57399e37bce53c264d6fefbe298080cb57ee" +checksum = "eb47de1e80c2b463c735db5b217a0ddc39d612e7ac9e2e96a5aed1f57616c1cb" dependencies = [ "utf8parse", ] [[package]] name = "anstyle-query" -version = "1.0.0" +version = "1.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ca11d4be1bab0c8bc8734a9aa7bf4ee8316d462a08c6ac5052f888fef5b494b" +checksum = "6d36fc52c7f6c869915e99412912f22093507da8d9e942ceaf66fe4b7c14422a" dependencies = [ - "windows-sys 0.48.0", + "windows-sys", ] [[package]] name = "anstyle-wincon" -version = "3.0.3" +version = "3.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61a38449feb7068f52bb06c12759005cf459ee52bb4adc1d5a7c4322d716fb19" +checksum = "5bf74e1b6e971609db8ca7a9ce79fd5768ab6ae46441c572e46cf596f59e57f8" dependencies = [ "anstyle", - "windows-sys 0.52.0", + "windows-sys", ] [[package]] @@ -71,36 +77,45 @@ dependencies = [ [[package]] name = "autocfg" -version = "1.1.0" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" +checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0" [[package]] name = "block-buffer" -version = "0.10.3" +version = "0.10.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69cce20737498f97b993470a6e536b8523f0af7892a4f928cceb1ac5e52ebe7e" +checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" dependencies = [ "generic-array", ] [[package]] name = "bumpalo" -version = "3.11.1" +version = "3.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" + +[[package]] +name = "byteorder" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "572f695136211188308f16ad2ca5c851a712c464060ae6974944458eb83880ba" +checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "bytes" -version = "1.3.0" +version = "1.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfb24e866b15a1af2a1b663f10c6b6b8f397a84aadb828f12e5b289ec23a3a3c" +checksum = "8318a53db07bb3f8dca91a600466bdb3f2eaadeedfdbcf02e1accbad9271ba50" [[package]] name = "cc" -version = "1.0.78" +version = "1.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a20104e2335ce8a659d6dd92a51a767a0c062599c73b343fd152cb401e828c3d" +checksum = "72db2f7947ecee9b03b510377e8bb9077afa27176fdbff55c51027e976fdcc48" +dependencies = [ + "shlex", +] [[package]] name = "cfg-if" @@ -110,33 +125,32 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "chrono" -version = "0.4.23" +version = "0.4.38" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "16b0a3d9ed01224b22057780a37bb8c5dbfe1be8ba48678e7bf57ec4b385411f" +checksum = "a21f936df1771bf62b77f047b726c4625ff2e8aa607c01ec06e5a05bd8463401" dependencies = [ + "android-tzdata", "iana-time-zone", "js-sys", - "num-integer", "num-traits", - "time", "wasm-bindgen", - "winapi", + "windows-targets", ] [[package]] name = "clap" -version = "4.5.8" +version = "4.5.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84b3edb18336f4df585bc9aa31dd99c036dfa5dc5e9a2939a722a188f3a8970d" +checksum = "ed6719fffa43d0d87e5fd8caeab59be1554fb028cd30edc88fc4369b17971019" dependencies = [ "clap_builder", ] [[package]] name = "clap_builder" -version = "4.5.8" +version = "4.5.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1c09dd5ada6c6c78075d6fd0da3f90d8080651e2d6cc8eb2f1aaa4034ced708" +checksum = "216aec2b177652e3846684cbfe25c9964d18ec45234f0f5da5157b207ed1aab6" dependencies = [ "anstream", "anstyle", @@ -146,46 +160,36 @@ dependencies = [ [[package]] name = "clap_complete" -version = "4.3.1" +version = "4.5.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f6b5c519bab3ea61843a7923d074b04245624bb84a64a8c150f5deb014e388b" +checksum = "9340e41703683548f486fdfdce615b0520dd220d18b1d4ce5abbc87d461c221b" dependencies = [ "clap", ] [[package]] name = "clap_lex" -version = "0.7.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b82cf0babdbd58558212896d1a4272303a57bdb245c2bf1147185fb45640e70" - -[[package]] -name = "codespan-reporting" -version = "0.11.1" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3538270d33cc669650c4b093848450d380def10c331d38c768e34cac80576e6e" -dependencies = [ - "termcolor", - "unicode-width", -] +checksum = "1462739cb27611015575c0c11df5df7601141071f07518d56fcc1be504cbec97" [[package]] name = "colorchoice" -version = "1.0.0" +version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" +checksum = "d3fd119d74b830634cea2a0f58bbd0d54540518a14397557951e79340abc28c0" [[package]] name = "core-foundation-sys" -version = "0.8.3" +version = "0.8.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5827cebf4670468b8772dd191856768aedcb1b0278a04f989f7766351917b9dc" +checksum = "773648b94d0e5d620f64f280777445740e61fe701025087ec8b57f45c791888b" [[package]] name = "cpufeatures" -version = "0.2.5" +version = "0.2.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28d997bd5e24a5928dd43e46dc529867e207907fe0b239c3477d924f7f2ca320" +checksum = "51e852e6dc9a5bed1fae92dd2375037bf2b768725bf3be87811edee3249d09ad" dependencies = [ "libc", ] @@ -201,54 +205,16 @@ dependencies = [ ] [[package]] -name = "cxx" -version = "1.0.85" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5add3fc1717409d029b20c5b6903fc0c0b02fa6741d820054f4a2efa5e5816fd" -dependencies = [ - "cc", - "cxxbridge-flags", - "cxxbridge-macro", - "link-cplusplus", -] - -[[package]] -name = "cxx-build" -version = "1.0.85" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4c87959ba14bc6fbc61df77c3fcfe180fc32b93538c4f1031dd802ccb5f2ff0" -dependencies = [ - "cc", - "codespan-reporting", - "once_cell", - "proc-macro2", - "quote", - "scratch", - "syn 1.0.107", -] - -[[package]] -name = "cxxbridge-flags" -version = "1.0.85" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69a3e162fde4e594ed2b07d0f83c6c67b745e7f28ce58c6df5e6b6bef99dfb59" - -[[package]] -name = "cxxbridge-macro" -version = "1.0.85" +name = "deunicode" +version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e7e2adeb6a0d4a282e581096b06e1791532b7d576dcde5ccd9382acf55db8e6" -dependencies = [ - "proc-macro2", - "quote", - "syn 1.0.107", -] +checksum = "339544cc9e2c4dc3fc7149fd630c5f22263a4fdf18a98afd0075784968b5cf00" [[package]] name = "digest" -version = "0.10.6" +version = "0.10.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8168378f4e5023e7218c89c891c0fd8ecdb5e5e4f18cb78f38cf245dd021e76f" +checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" dependencies = [ "block-buffer", "crypto-common", @@ -256,15 +222,17 @@ dependencies = [ [[package]] name = "fake" -version = "2.5.0" +version = "2.9.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4d68f517805463f3a896a9d29c1d6ff09d3579ded64a7201b4069f8f9c0d52fd" +checksum = "1c25829bde82205da46e1823b2259db6273379f626fc211f126f65654a2669be" dependencies = [ "chrono", - "http", + "deunicode", + "http 1.1.0", "rand 0.8.5", "random_color", "semver", + "url-escape", ] [[package]] @@ -275,9 +243,9 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" [[package]] name = "generic-array" -version = "0.14.6" +version = "0.14.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bff49e947297f3312447abdca79f45f4738097cc82b06e72054d2223f601f1b9" +checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" dependencies = [ "typenum", "version_check", @@ -296,9 +264,9 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.8" +version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c05aeb6a22b8f62540c194aac980f2115af067bfe15a0734d7277a768d396b31" +checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" dependencies = [ "cfg-if", "libc", @@ -307,9 +275,20 @@ dependencies = [ [[package]] name = "http" -version = "0.2.8" +version = "0.2.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75f43d41e26995c17e71ee126451dd3941010b0514a81a9d11f3b341debc2399" +checksum = "601cbb57e577e2f5ef5be8e7b83f0f63994f25aa94d673e54a92d5c516d101f1" +dependencies = [ + "bytes", + "fnv", + "itoa", +] + +[[package]] +name = "http" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "21b9ddb458710bc376481b842f5da65cdf31522de232c1ca8146abce2a358258" dependencies = [ "bytes", "fnv", @@ -318,78 +297,65 @@ dependencies = [ [[package]] name = "iana-time-zone" -version = "0.1.53" +version = "0.1.60" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64c122667b287044802d6ce17ee2ddf13207ed924c712de9a66a5814d5b64765" +checksum = "e7ffbb5a1b541ea2561f8c41c087286cc091e21e556a4f09a8f6cbf17b69b141" dependencies = [ "android_system_properties", "core-foundation-sys", "iana-time-zone-haiku", "js-sys", "wasm-bindgen", - "winapi", + "windows-core", ] [[package]] name = "iana-time-zone-haiku" -version = "0.1.1" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0703ae284fc167426161c2e3f1da3ea71d94b21bedbcc9494e92b28e334e3dca" +checksum = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f" dependencies = [ - "cxx", - "cxx-build", + "cc", ] [[package]] name = "is_terminal_polyfill" -version = "1.70.0" +version = "1.70.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8478577c03552c21db0e2724ffb8986a5ce7af88107e6be5d2ee6e158c12800" +checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf" [[package]] name = "itoa" -version = "1.0.5" +version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fad582f4b9e86b6caa621cabeb0963332d92eea04729ab12892c2533951e6440" +checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" [[package]] name = "js-sys" -version = "0.3.60" +version = "0.3.70" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49409df3e3bf0856b916e2ceaca09ee28e6871cf7d9ce97a692cacfdb2a25a47" +checksum = "1868808506b929d7b0cfa8f75951347aa71bb21144b7791bae35d9bccfcfe37a" dependencies = [ "wasm-bindgen", ] [[package]] name = "libc" -version = "0.2.140" +version = "0.2.158" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99227334921fae1a979cf0bfdfcc6b3e5ce376ef57e16fb6fb3ea2ed6095f80c" - -[[package]] -name = "link-cplusplus" -version = "1.0.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ecd207c9c713c34f95a097a5b029ac2ce6010530c7b49d7fea24d977dede04f5" -dependencies = [ - "cc", -] +checksum = "d8adc4bb1803a324070e64a98ae98f38934d91957a99cfb3a43dcbc01bc56439" [[package]] name = "log" -version = "0.4.17" +version = "0.4.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e" -dependencies = [ - "cfg-if", -] +checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" [[package]] name = "memchr" -version = "2.5.0" +version = "2.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" +checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" [[package]] name = "minimal-lexical" @@ -408,45 +374,42 @@ dependencies = [ ] [[package]] -name = "num-integer" -version = "0.1.45" +name = "num-traits" +version = "0.2.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9" +checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" dependencies = [ "autocfg", - "num-traits", ] [[package]] -name = "num-traits" -version = "0.2.15" +name = "once_cell" +version = "1.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd" -dependencies = [ - "autocfg", -] +checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" [[package]] -name = "once_cell" -version = "1.17.0" +name = "percent-encoding" +version = "2.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f61fba1741ea2b3d6a1e3178721804bb716a68a6aeba1149b5d52e3d464ea66" +checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" [[package]] name = "pest" -version = "2.5.2" +version = "2.7.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f6e86fb9e7026527a0d46bc308b841d73170ef8f443e1807f6ef88526a816d4" +checksum = "cd53dff83f26735fdc1ca837098ccf133605d794cdae66acfc2bfac3ec809d95" dependencies = [ + "memchr", "thiserror", "ucd-trie", ] [[package]] name = "pest_derive" -version = "2.5.2" +version = "2.7.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96504449aa860c8dcde14f9fba5c58dc6658688ca1fe363589d6327b8662c603" +checksum = "2a548d2beca6773b1c244554d36fcf8548a8a58e74156968211567250e48e49a" dependencies = [ "pest", "pest_generator", @@ -454,26 +417,26 @@ dependencies = [ [[package]] name = "pest_generator" -version = "2.5.2" +version = "2.7.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "798e0220d1111ae63d66cb66a5dcb3fc2d986d520b98e49e1852bfdb11d7c5e7" +checksum = "3c93a82e8d145725dcbaf44e5ea887c8a869efdcc28706df2d08c69e17077183" dependencies = [ "pest", "pest_meta", "proc-macro2", "quote", - "syn 1.0.107", + "syn", ] [[package]] name = "pest_meta" -version = "2.5.2" +version = "2.7.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "984298b75898e30a843e278a9f2452c31e349a073a0ce6fd950a12a74464e065" +checksum = "a941429fea7e08bedec25e4f6785b6ffaacc6b755da98df5ef3e7dcf4a124c4f" dependencies = [ "once_cell", "pest", - "sha1", + "sha2", ] [[package]] @@ -485,7 +448,7 @@ dependencies = [ "clap", "clap_complete", "fake", - "http", + "http 0.2.12", "pest", "pest_derive", "proc-macro2", @@ -493,30 +456,33 @@ dependencies = [ "random_color", "semver", "serde", - "syn 2.0.29", + "syn", "unidecode", ] [[package]] name = "ppv-lite86" -version = "0.2.17" +version = "0.2.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" +checksum = "77957b295656769bb8ad2b6a6b09d897d94f05c41b069aede1fcdaa675eaea04" +dependencies = [ + "zerocopy", +] [[package]] name = "proc-macro2" -version = "1.0.66" +version = "1.0.86" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18fb31db3f9bddb2ea821cde30a9f70117e3f119938b5ee630b7403aa6e2ead9" +checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77" dependencies = [ "unicode-ident", ] [[package]] name = "quote" -version = "1.0.33" +version = "1.0.36" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae" +checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7" dependencies = [ "proc-macro2", ] @@ -581,7 +547,7 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" dependencies = [ - "getrandom 0.2.8", + "getrandom 0.2.15", ] [[package]] @@ -611,43 +577,37 @@ dependencies = [ "rand 0.7.3", ] -[[package]] -name = "scratch" -version = "1.0.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ddccb15bcce173023b3fedd9436f882a0739b8dfb45e4f6b6002bee5929f61b2" - [[package]] name = "semver" -version = "1.0.16" +version = "1.0.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58bc9567378fc7690d6b2addae4e60ac2eeea07becb2c64b9f218b53865cba2a" +checksum = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b" [[package]] name = "serde" -version = "1.0.188" +version = "1.0.208" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf9e0fcba69a370eed61bcf2b728575f726b50b55cba78064753d708ddc7549e" +checksum = "cff085d2cb684faa248efb494c39b68e522822ac0de72ccf08109abde717cfb2" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.188" +version = "1.0.208" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4eca7ac642d82aa35b60049a6eccb4be6be75e599bd2e9adb5f875a737654af2" +checksum = "24008e81ff7613ed8e5ba0cfaf24e2c2f1e5b8a0495711e44fcd4882fca62bcf" dependencies = [ "proc-macro2", "quote", - "syn 2.0.29", + "syn", ] [[package]] -name = "sha1" -version = "0.10.5" +name = "sha2" +version = "0.10.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f04293dc80c3993519f2d7f6f511707ee7094fe0c6d3406feb330cdb3540eba3" +checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" dependencies = [ "cfg-if", "cpufeatures", @@ -655,96 +615,65 @@ dependencies = [ ] [[package]] -name = "strsim" -version = "0.11.1" +name = "shlex" +version = "1.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" +checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" [[package]] -name = "syn" -version = "1.0.107" +name = "strsim" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1f4064b5b16e03ae50984a5a8ed5d4f8803e6bc1fd170a3cda91a1be4b18e3f5" -dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", -] +checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" [[package]] name = "syn" -version = "2.0.29" +version = "2.0.75" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c324c494eba9d92503e6f1ef2e6df781e78f6a7705a0202d9801b198807d518a" +checksum = "f6af063034fc1935ede7be0122941bafa9bacb949334d090b77ca98b5817c7d9" dependencies = [ "proc-macro2", "quote", "unicode-ident", ] -[[package]] -name = "termcolor" -version = "1.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bab24d30b911b2376f3a13cc2cd443142f0c81dda04c118693e35b3835757755" -dependencies = [ - "winapi-util", -] - [[package]] name = "thiserror" -version = "1.0.38" +version = "1.0.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a9cd18aa97d5c45c6603caea1da6628790b37f7a34b6ca89522331c5180fed0" +checksum = "c0342370b38b6a11b6cc11d6a805569958d54cfa061a29969c3b5ce2ea405724" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.38" +version = "1.0.63" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1fb327af4685e4d03fa8cbcf1716380da910eeb2bb8be417e7f9fd3fb164f36f" +checksum = "a4558b58466b9ad7ca0f102865eccc95938dca1a74a856f2b57b6629050da261" dependencies = [ "proc-macro2", "quote", - "syn 1.0.107", -] - -[[package]] -name = "time" -version = "0.1.45" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b797afad3f312d1c66a56d11d0316f916356d11bd158fbc6ca6389ff6bf805a" -dependencies = [ - "libc", - "wasi 0.10.0+wasi-snapshot-preview1", - "winapi", + "syn", ] [[package]] name = "typenum" -version = "1.16.0" +version = "1.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "497961ef93d974e23eb6f433eb5fe1b7930b659f06d12dec6fc44a8f554c0bba" +checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" [[package]] name = "ucd-trie" -version = "0.1.5" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e79c4d996edb816c91e4308506774452e55e95c3c9de07b6729e17e15a5ef81" +checksum = "ed646292ffc8188ef8ea4d1e0e0150fb15a5c2e12ad9b8fc191ae7a8a7f3c4b9" [[package]] name = "unicode-ident" -version = "1.0.6" +version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84a22b9f218b40614adcb3f4ff08b703773ad44fa9423e4e0d346d5db86e4ebc" - -[[package]] -name = "unicode-width" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b" +checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" [[package]] name = "unidecode" @@ -752,17 +681,26 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "402bb19d8e03f1d1a7450e2bd613980869438e0666331be3e073089124aa1adc" +[[package]] +name = "url-escape" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "44e0ce4d1246d075ca5abec4b41d33e87a6054d08e2366b63205665e950db218" +dependencies = [ + "percent-encoding", +] + [[package]] name = "utf8parse" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" +checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" [[package]] name = "version_check" -version = "0.9.4" +version = "0.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" +checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" [[package]] name = "wasi" @@ -770,12 +708,6 @@ version = "0.9.0+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" -[[package]] -name = "wasi" -version = "0.10.0+wasi-snapshot-preview1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f" - [[package]] name = "wasi" version = "0.11.0+wasi-snapshot-preview1" @@ -784,34 +716,35 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasm-bindgen" -version = "0.2.83" +version = "0.2.93" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eaf9f5aceeec8be17c128b2e93e031fb8a4d469bb9c4ae2d7dc1888b26887268" +checksum = "a82edfc16a6c469f5f44dc7b571814045d60404b55a0ee849f9bcfa2e63dd9b5" dependencies = [ "cfg-if", + "once_cell", "wasm-bindgen-macro", ] [[package]] name = "wasm-bindgen-backend" -version = "0.2.83" +version = "0.2.93" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c8ffb332579b0557b52d268b91feab8df3615f265d5270fec2a8c95b17c1142" +checksum = "9de396da306523044d3302746f1208fa71d7532227f15e347e2d93e4145dd77b" dependencies = [ "bumpalo", "log", "once_cell", "proc-macro2", "quote", - "syn 1.0.107", + "syn", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-macro" -version = "0.2.83" +version = "0.2.93" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "052be0f94026e6cbc75cdefc9bae13fd6052cdcaf532fa6c45e7ae33a1e6c810" +checksum = "585c4c91a46b072c92e908d99cb1dcdf95c5218eeb6f3bf1efa991ee7a68cccf" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -819,61 +752,30 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.83" +version = "0.2.93" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07bc0c051dc5f23e307b13285f9d75df86bfdf816c5721e573dec1f9b8aa193c" +checksum = "afc340c74d9005395cf9dd098506f7f44e38f2b4a21c6aaacf9a105ea5e1e836" dependencies = [ "proc-macro2", "quote", - "syn 1.0.107", + "syn", "wasm-bindgen-backend", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" -version = "0.2.83" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c38c045535d93ec4f0b4defec448e4291638ee608530863b1e2ba115d4fff7f" - -[[package]] -name = "winapi" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" -dependencies = [ - "winapi-i686-pc-windows-gnu", - "winapi-x86_64-pc-windows-gnu", -] - -[[package]] -name = "winapi-i686-pc-windows-gnu" -version = "0.4.0" +version = "0.2.93" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" - -[[package]] -name = "winapi-util" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" -dependencies = [ - "winapi", -] +checksum = "c62a0a307cb4a311d3a07867860911ca130c3494e8c2719593806c08bc5d0484" [[package]] -name = "winapi-x86_64-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" - -[[package]] -name = "windows-sys" -version = "0.48.0" +name = "windows-core" +version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" +checksum = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" dependencies = [ - "windows-targets 0.48.0", + "windows-targets", ] [[package]] @@ -882,22 +784,7 @@ version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" dependencies = [ - "windows-targets 0.52.6", -] - -[[package]] -name = "windows-targets" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b1eb6f0cd7c80c79759c929114ef071b87354ce476d9d94271031c0497adfd5" -dependencies = [ - "windows_aarch64_gnullvm 0.48.0", - "windows_aarch64_msvc 0.48.0", - "windows_i686_gnu 0.48.0", - "windows_i686_msvc 0.48.0", - "windows_x86_64_gnu 0.48.0", - "windows_x86_64_gnullvm 0.48.0", - "windows_x86_64_msvc 0.48.0", + "windows-targets", ] [[package]] @@ -906,46 +793,28 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" dependencies = [ - "windows_aarch64_gnullvm 0.52.6", - "windows_aarch64_msvc 0.52.6", - "windows_i686_gnu 0.52.6", + "windows_aarch64_gnullvm", + "windows_aarch64_msvc", + "windows_i686_gnu", "windows_i686_gnullvm", - "windows_i686_msvc 0.52.6", - "windows_x86_64_gnu 0.52.6", - "windows_x86_64_gnullvm 0.52.6", - "windows_x86_64_msvc 0.52.6", + "windows_i686_msvc", + "windows_x86_64_gnu", + "windows_x86_64_gnullvm", + "windows_x86_64_msvc", ] -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc" - [[package]] name = "windows_aarch64_gnullvm" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" -[[package]] -name = "windows_aarch64_msvc" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3" - [[package]] name = "windows_aarch64_msvc" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" -[[package]] -name = "windows_i686_gnu" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241" - [[package]] name = "windows_i686_gnu" version = "0.52.6" @@ -958,24 +827,12 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" -[[package]] -name = "windows_i686_msvc" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00" - [[package]] name = "windows_i686_msvc" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" -[[package]] -name = "windows_x86_64_gnu" -version = "0.48.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1" - [[package]] name = "windows_x86_64_gnu" version = "0.52.6" @@ -984,24 +841,33 @@ checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" [[package]] name = "windows_x86_64_gnullvm" -version = "0.48.0" +version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953" +checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" [[package]] -name = "windows_x86_64_gnullvm" +name = "windows_x86_64_msvc" version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" +checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" [[package]] -name = "windows_x86_64_msvc" -version = "0.48.0" +name = "zerocopy" +version = "0.7.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a" +checksum = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0" +dependencies = [ + "byteorder", + "zerocopy-derive", +] [[package]] -name = "windows_x86_64_msvc" -version = "0.52.6" +name = "zerocopy-derive" +version = "0.7.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" +checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] diff --git a/Cargo.toml b/Cargo.toml index 63c8167..febcc3b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,7 @@ edition = "2021" build = "build.rs" [dependencies] -clap = { version="4.3", features=['cargo'] } +clap = { version="4.4", features=['cargo'] } random_color = "0.6" fake = { version="2.5", features=['chrono', 'http', 'semver', 'random_color'] } @@ -31,5 +31,5 @@ syn = "^2" askama_parser = "0.2" [build-dependencies] -clap = { version="4.3", features=['cargo'] } -clap_complete = { version="4.3" } +clap = { version="4.4", features=['cargo'] } +clap_complete = { version="4.4" } diff --git a/_pouf b/_pouf index 8a6c2c0..76abefe 100644 --- a/_pouf +++ b/_pouf @@ -14,7 +14,7 @@ _pouf() { fi local context curcontext="$curcontext" state line - _arguments "${_arguments_options[@]}" \ + _arguments "${_arguments_options[@]}" : \ '-h[Print help]' \ '--help[Print help]' \ '-V[Print version]' \ @@ -29,7 +29,7 @@ _pouf() { curcontext="${curcontext%:*:*}:pouf-command-$line[1]:" case $line[1] in (template) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ '-i+[give an input template file (tera \: https\://tera.netlify.app/)]: :_files' \ '--input=[give an input template file (tera \: https\://tera.netlify.app/)]: :_files' \ '-n+[number of values]: : ' \ @@ -39,7 +39,7 @@ _arguments "${_arguments_options[@]}" \ && ret=0 ;; (address.city) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ '-n+[number of values]: : ' \ '--number=[number of values]: : ' \ '-h[Print help]' \ @@ -47,7 +47,7 @@ _arguments "${_arguments_options[@]}" \ && ret=0 ;; (address.country) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ '-n+[number of values]: : ' \ '--number=[number of values]: : ' \ '-h[Print help]' \ @@ -55,7 +55,7 @@ _arguments "${_arguments_options[@]}" \ && ret=0 ;; (address.street) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ '-n+[number of values]: : ' \ '--number=[number of values]: : ' \ '-h[Print help]' \ @@ -63,7 +63,7 @@ _arguments "${_arguments_options[@]}" \ && ret=0 ;; (administrative.healthinsurrancecode) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ '-n+[number of values]: : ' \ '--number=[number of values]: : ' \ '-h[Print help]' \ @@ -71,7 +71,7 @@ _arguments "${_arguments_options[@]}" \ && ret=0 ;; (auto.licenseplate) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ '-n+[number of values]: : ' \ '--number=[number of values]: : ' \ '-h[Print help]' \ @@ -79,7 +79,7 @@ _arguments "${_arguments_options[@]}" \ && ret=0 ;; (barcode.isbn) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ '-n+[number of values]: : ' \ '--number=[number of values]: : ' \ '-h[Print help]' \ @@ -87,7 +87,7 @@ _arguments "${_arguments_options[@]}" \ && ret=0 ;; (color) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ '-n+[number of values]: : ' \ '--number=[number of values]: : ' \ '-d[give a fake hexadecimal color]' \ @@ -105,7 +105,7 @@ _arguments "${_arguments_options[@]}" \ && ret=0 ;; (filesystem.mimetype) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ '-n+[number of values]: : ' \ '--number=[number of values]: : ' \ '-h[Print help]' \ @@ -113,7 +113,7 @@ _arguments "${_arguments_options[@]}" \ && ret=0 ;; (filesystem.semver) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ '-n+[number of values]: : ' \ '--number=[number of values]: : ' \ '-s[give exclusivly stable semver version (X.Y.Z)]' \ @@ -125,7 +125,7 @@ _arguments "${_arguments_options[@]}" \ && ret=0 ;; (finance.bic) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ '-n+[number of values]: : ' \ '--number=[number of values]: : ' \ '-h[Print help]' \ @@ -133,7 +133,7 @@ _arguments "${_arguments_options[@]}" \ && ret=0 ;; (http.code) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ '-l+[give lang (ie\: fr_FR)]: :(fr fr_FR en)' \ '--lang=[give lang (ie\: fr_FR)]: :(fr fr_FR en)' \ '-n+[number of values]: : ' \ @@ -143,7 +143,7 @@ _arguments "${_arguments_options[@]}" \ && ret=0 ;; (internet.ip) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ '-n+[number of values]: : ' \ '--number=[number of values]: : ' \ '-4[give exclusivly IPv4]' \ @@ -155,7 +155,7 @@ _arguments "${_arguments_options[@]}" \ && ret=0 ;; (internet.mac) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ '-n+[number of values]: : ' \ '--number=[number of values]: : ' \ '-h[Print help]' \ @@ -163,7 +163,7 @@ _arguments "${_arguments_options[@]}" \ && ret=0 ;; (internet.mail) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ '-n+[number of values]: : ' \ '--number=[number of values]: : ' \ '-h[Print help]' \ @@ -171,7 +171,7 @@ _arguments "${_arguments_options[@]}" \ && ret=0 ;; (internet.useragent) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ '-n+[number of values]: : ' \ '--number=[number of values]: : ' \ '-h[Print help]' \ @@ -179,7 +179,7 @@ _arguments "${_arguments_options[@]}" \ && ret=0 ;; (lorem.word) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ '-n+[number of values]: : ' \ '--number=[number of values]: : ' \ '-h[Print help]' \ @@ -187,7 +187,7 @@ _arguments "${_arguments_options[@]}" \ && ret=0 ;; (people.name) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ '-l+[give lang (ie\: fr_FR)]: :(fr fr_FR en)' \ '--lang=[give lang (ie\: fr_FR)]: :(fr fr_FR en)' \ '-n+[number of values]: : ' \ @@ -205,7 +205,7 @@ _arguments "${_arguments_options[@]}" \ && ret=0 ;; (time.time) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ '-n+[number of values]: : ' \ '--number=[number of values]: : ' \ '-h[Print help]' \ @@ -213,7 +213,7 @@ _arguments "${_arguments_options[@]}" \ && ret=0 ;; (time.date) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ '-n+[number of values]: : ' \ '--number=[number of values]: : ' \ '-h[Print help]' \ @@ -221,7 +221,7 @@ _arguments "${_arguments_options[@]}" \ && ret=0 ;; (help) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ ":: :_pouf__help_commands" \ "*::: :->help" \ && ret=0 @@ -233,87 +233,87 @@ _arguments "${_arguments_options[@]}" \ curcontext="${curcontext%:*:*}:pouf-help-command-$line[1]:" case $line[1] in (template) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; (address.city) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; (address.country) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; (address.street) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; (administrative.healthinsurrancecode) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; (auto.licenseplate) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; (barcode.isbn) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; (color) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; (filesystem.mimetype) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; (filesystem.semver) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; (finance.bic) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; (http.code) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; (internet.ip) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; (internet.mac) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; (internet.mail) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; (internet.useragent) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; (lorem.word) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; (people.name) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; (time.time) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; (time.date) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; (help) -_arguments "${_arguments_options[@]}" \ +_arguments "${_arguments_options[@]}" : \ && ret=0 ;; esac @@ -357,101 +357,51 @@ _pouf__address.city_commands() { local commands; commands=() _describe -t commands 'pouf address.city commands' commands "$@" } -(( $+functions[_pouf__help__address.city_commands] )) || -_pouf__help__address.city_commands() { - local commands; commands=() - _describe -t commands 'pouf help address.city commands' commands "$@" -} (( $+functions[_pouf__address.country_commands] )) || _pouf__address.country_commands() { local commands; commands=() _describe -t commands 'pouf address.country commands' commands "$@" } -(( $+functions[_pouf__help__address.country_commands] )) || -_pouf__help__address.country_commands() { - local commands; commands=() - _describe -t commands 'pouf help address.country commands' commands "$@" -} (( $+functions[_pouf__address.street_commands] )) || _pouf__address.street_commands() { local commands; commands=() _describe -t commands 'pouf address.street commands' commands "$@" } -(( $+functions[_pouf__help__address.street_commands] )) || -_pouf__help__address.street_commands() { - local commands; commands=() - _describe -t commands 'pouf help address.street commands' commands "$@" -} (( $+functions[_pouf__administrative.healthinsurrancecode_commands] )) || _pouf__administrative.healthinsurrancecode_commands() { local commands; commands=() _describe -t commands 'pouf administrative.healthinsurrancecode commands' commands "$@" } -(( $+functions[_pouf__help__administrative.healthinsurrancecode_commands] )) || -_pouf__help__administrative.healthinsurrancecode_commands() { - local commands; commands=() - _describe -t commands 'pouf help administrative.healthinsurrancecode commands' commands "$@" -} (( $+functions[_pouf__auto.licenseplate_commands] )) || _pouf__auto.licenseplate_commands() { local commands; commands=() _describe -t commands 'pouf auto.licenseplate commands' commands "$@" } -(( $+functions[_pouf__help__auto.licenseplate_commands] )) || -_pouf__help__auto.licenseplate_commands() { - local commands; commands=() - _describe -t commands 'pouf help auto.licenseplate commands' commands "$@" -} (( $+functions[_pouf__barcode.isbn_commands] )) || _pouf__barcode.isbn_commands() { local commands; commands=() _describe -t commands 'pouf barcode.isbn commands' commands "$@" } -(( $+functions[_pouf__help__barcode.isbn_commands] )) || -_pouf__help__barcode.isbn_commands() { - local commands; commands=() - _describe -t commands 'pouf help barcode.isbn commands' commands "$@" -} (( $+functions[_pouf__color_commands] )) || _pouf__color_commands() { local commands; commands=() _describe -t commands 'pouf color commands' commands "$@" } -(( $+functions[_pouf__help__color_commands] )) || -_pouf__help__color_commands() { - local commands; commands=() - _describe -t commands 'pouf help color commands' commands "$@" -} (( $+functions[_pouf__filesystem.mimetype_commands] )) || _pouf__filesystem.mimetype_commands() { local commands; commands=() _describe -t commands 'pouf filesystem.mimetype commands' commands "$@" } -(( $+functions[_pouf__help__filesystem.mimetype_commands] )) || -_pouf__help__filesystem.mimetype_commands() { - local commands; commands=() - _describe -t commands 'pouf help filesystem.mimetype commands' commands "$@" -} (( $+functions[_pouf__filesystem.semver_commands] )) || _pouf__filesystem.semver_commands() { local commands; commands=() _describe -t commands 'pouf filesystem.semver commands' commands "$@" } -(( $+functions[_pouf__help__filesystem.semver_commands] )) || -_pouf__help__filesystem.semver_commands() { - local commands; commands=() - _describe -t commands 'pouf help filesystem.semver commands' commands "$@" -} (( $+functions[_pouf__finance.bic_commands] )) || _pouf__finance.bic_commands() { local commands; commands=() _describe -t commands 'pouf finance.bic commands' commands "$@" } -(( $+functions[_pouf__help__finance.bic_commands] )) || -_pouf__help__finance.bic_commands() { - local commands; commands=() - _describe -t commands 'pouf help finance.bic commands' commands "$@" -} (( $+functions[_pouf__help_commands] )) || _pouf__help_commands() { local commands; commands=( @@ -479,6 +429,56 @@ _pouf__help_commands() { ) _describe -t commands 'pouf help commands' commands "$@" } +(( $+functions[_pouf__help__address.city_commands] )) || +_pouf__help__address.city_commands() { + local commands; commands=() + _describe -t commands 'pouf help address.city commands' commands "$@" +} +(( $+functions[_pouf__help__address.country_commands] )) || +_pouf__help__address.country_commands() { + local commands; commands=() + _describe -t commands 'pouf help address.country commands' commands "$@" +} +(( $+functions[_pouf__help__address.street_commands] )) || +_pouf__help__address.street_commands() { + local commands; commands=() + _describe -t commands 'pouf help address.street commands' commands "$@" +} +(( $+functions[_pouf__help__administrative.healthinsurrancecode_commands] )) || +_pouf__help__administrative.healthinsurrancecode_commands() { + local commands; commands=() + _describe -t commands 'pouf help administrative.healthinsurrancecode commands' commands "$@" +} +(( $+functions[_pouf__help__auto.licenseplate_commands] )) || +_pouf__help__auto.licenseplate_commands() { + local commands; commands=() + _describe -t commands 'pouf help auto.licenseplate commands' commands "$@" +} +(( $+functions[_pouf__help__barcode.isbn_commands] )) || +_pouf__help__barcode.isbn_commands() { + local commands; commands=() + _describe -t commands 'pouf help barcode.isbn commands' commands "$@" +} +(( $+functions[_pouf__help__color_commands] )) || +_pouf__help__color_commands() { + local commands; commands=() + _describe -t commands 'pouf help color commands' commands "$@" +} +(( $+functions[_pouf__help__filesystem.mimetype_commands] )) || +_pouf__help__filesystem.mimetype_commands() { + local commands; commands=() + _describe -t commands 'pouf help filesystem.mimetype commands' commands "$@" +} +(( $+functions[_pouf__help__filesystem.semver_commands] )) || +_pouf__help__filesystem.semver_commands() { + local commands; commands=() + _describe -t commands 'pouf help filesystem.semver commands' commands "$@" +} +(( $+functions[_pouf__help__finance.bic_commands] )) || +_pouf__help__finance.bic_commands() { + local commands; commands=() + _describe -t commands 'pouf help finance.bic commands' commands "$@" +} (( $+functions[_pouf__help__help_commands] )) || _pouf__help__help_commands() { local commands; commands=() @@ -489,96 +489,96 @@ _pouf__help__http.code_commands() { local commands; commands=() _describe -t commands 'pouf help http.code commands' commands "$@" } -(( $+functions[_pouf__http.code_commands] )) || -_pouf__http.code_commands() { - local commands; commands=() - _describe -t commands 'pouf http.code commands' commands "$@" -} (( $+functions[_pouf__help__internet.ip_commands] )) || _pouf__help__internet.ip_commands() { local commands; commands=() _describe -t commands 'pouf help internet.ip commands' commands "$@" } -(( $+functions[_pouf__internet.ip_commands] )) || -_pouf__internet.ip_commands() { - local commands; commands=() - _describe -t commands 'pouf internet.ip commands' commands "$@" -} (( $+functions[_pouf__help__internet.mac_commands] )) || _pouf__help__internet.mac_commands() { local commands; commands=() _describe -t commands 'pouf help internet.mac commands' commands "$@" } -(( $+functions[_pouf__internet.mac_commands] )) || -_pouf__internet.mac_commands() { - local commands; commands=() - _describe -t commands 'pouf internet.mac commands' commands "$@" -} (( $+functions[_pouf__help__internet.mail_commands] )) || _pouf__help__internet.mail_commands() { local commands; commands=() _describe -t commands 'pouf help internet.mail commands' commands "$@" } -(( $+functions[_pouf__internet.mail_commands] )) || -_pouf__internet.mail_commands() { - local commands; commands=() - _describe -t commands 'pouf internet.mail commands' commands "$@" -} (( $+functions[_pouf__help__internet.useragent_commands] )) || _pouf__help__internet.useragent_commands() { local commands; commands=() _describe -t commands 'pouf help internet.useragent commands' commands "$@" } -(( $+functions[_pouf__internet.useragent_commands] )) || -_pouf__internet.useragent_commands() { - local commands; commands=() - _describe -t commands 'pouf internet.useragent commands' commands "$@" -} (( $+functions[_pouf__help__lorem.word_commands] )) || _pouf__help__lorem.word_commands() { local commands; commands=() _describe -t commands 'pouf help lorem.word commands' commands "$@" } -(( $+functions[_pouf__lorem.word_commands] )) || -_pouf__lorem.word_commands() { - local commands; commands=() - _describe -t commands 'pouf lorem.word commands' commands "$@" -} (( $+functions[_pouf__help__people.name_commands] )) || _pouf__help__people.name_commands() { local commands; commands=() _describe -t commands 'pouf help people.name commands' commands "$@" } -(( $+functions[_pouf__people.name_commands] )) || -_pouf__people.name_commands() { - local commands; commands=() - _describe -t commands 'pouf people.name commands' commands "$@" -} (( $+functions[_pouf__help__template_commands] )) || _pouf__help__template_commands() { local commands; commands=() _describe -t commands 'pouf help template commands' commands "$@" } -(( $+functions[_pouf__template_commands] )) || -_pouf__template_commands() { - local commands; commands=() - _describe -t commands 'pouf template commands' commands "$@" -} (( $+functions[_pouf__help__time.date_commands] )) || _pouf__help__time.date_commands() { local commands; commands=() _describe -t commands 'pouf help time.date commands' commands "$@" } -(( $+functions[_pouf__time.date_commands] )) || -_pouf__time.date_commands() { - local commands; commands=() - _describe -t commands 'pouf time.date commands' commands "$@" -} (( $+functions[_pouf__help__time.time_commands] )) || _pouf__help__time.time_commands() { local commands; commands=() _describe -t commands 'pouf help time.time commands' commands "$@" } +(( $+functions[_pouf__http.code_commands] )) || +_pouf__http.code_commands() { + local commands; commands=() + _describe -t commands 'pouf http.code commands' commands "$@" +} +(( $+functions[_pouf__internet.ip_commands] )) || +_pouf__internet.ip_commands() { + local commands; commands=() + _describe -t commands 'pouf internet.ip commands' commands "$@" +} +(( $+functions[_pouf__internet.mac_commands] )) || +_pouf__internet.mac_commands() { + local commands; commands=() + _describe -t commands 'pouf internet.mac commands' commands "$@" +} +(( $+functions[_pouf__internet.mail_commands] )) || +_pouf__internet.mail_commands() { + local commands; commands=() + _describe -t commands 'pouf internet.mail commands' commands "$@" +} +(( $+functions[_pouf__internet.useragent_commands] )) || +_pouf__internet.useragent_commands() { + local commands; commands=() + _describe -t commands 'pouf internet.useragent commands' commands "$@" +} +(( $+functions[_pouf__lorem.word_commands] )) || +_pouf__lorem.word_commands() { + local commands; commands=() + _describe -t commands 'pouf lorem.word commands' commands "$@" +} +(( $+functions[_pouf__people.name_commands] )) || +_pouf__people.name_commands() { + local commands; commands=() + _describe -t commands 'pouf people.name commands' commands "$@" +} +(( $+functions[_pouf__template_commands] )) || +_pouf__template_commands() { + local commands; commands=() + _describe -t commands 'pouf template commands' commands "$@" +} +(( $+functions[_pouf__time.date_commands] )) || +_pouf__time.date_commands() { + local commands; commands=() + _describe -t commands 'pouf time.date commands' commands "$@" +} (( $+functions[_pouf__time.time_commands] )) || _pouf__time.time_commands() { local commands; commands=() diff --git a/pouf.bash b/pouf.bash index 69af4f5..5e82140 100644 --- a/pouf.bash +++ b/pouf.bash @@ -933,4 +933,8 @@ _pouf() { esac } -complete -F _pouf -o bashdefault -o default pouf +if [[ "${BASH_VERSINFO[0]}" -eq 4 && "${BASH_VERSINFO[1]}" -ge 4 || "${BASH_VERSINFO[0]}" -gt 4 ]]; then + complete -F _pouf -o nosort -o bashdefault -o default pouf +else + complete -F _pouf -o bashdefault -o default pouf +fi diff --git a/pouf.fish b/pouf.fish index 6b2fc30..86808e8 100644 --- a/pouf.fish +++ b/pouf.fish @@ -1,100 +1,126 @@ -complete -c pouf -n "__fish_use_subcommand" -s h -l help -d 'Print help' -complete -c pouf -n "__fish_use_subcommand" -s V -l version -d 'Print version' -complete -c pouf -n "__fish_use_subcommand" -f -a "template" -d 'generate file with template' -complete -c pouf -n "__fish_use_subcommand" -f -a "address.city" -d 'give a city name (English only)' -complete -c pouf -n "__fish_use_subcommand" -f -a "address.country" -d 'give a country name and code (English only)' -complete -c pouf -n "__fish_use_subcommand" -f -a "address.street" -d 'give a street name (English only)' -complete -c pouf -n "__fish_use_subcommand" -f -a "administrative.healthinsurrancecode" -d 'give a Health insurrance code (French only)' -complete -c pouf -n "__fish_use_subcommand" -f -a "auto.licenseplate" -d 'give an automotive license plate (French only)' -complete -c pouf -n "__fish_use_subcommand" -f -a "barcode.isbn" -d 'give an isbn code' -complete -c pouf -n "__fish_use_subcommand" -f -a "color" -d 'give a fake color (hexadécimal, rgb, rgba, hsl and hsla representation)' -complete -c pouf -n "__fish_use_subcommand" -f -a "filesystem.mimetype" -d 'give a fake mime-type' -complete -c pouf -n "__fish_use_subcommand" -f -a "filesystem.semver" -d 'give a fake semver version' -complete -c pouf -n "__fish_use_subcommand" -f -a "finance.bic" -d 'give a fake BIC (Business Identifier Code)' -complete -c pouf -n "__fish_use_subcommand" -f -a "http.code" -d 'give a fake HTTP code' -complete -c pouf -n "__fish_use_subcommand" -f -a "internet.ip" -d 'give a fake IP (Internet Protocol)' -complete -c pouf -n "__fish_use_subcommand" -f -a "internet.mac" -d 'give a fake mac adress' -complete -c pouf -n "__fish_use_subcommand" -f -a "internet.mail" -d 'give a fake mail' -complete -c pouf -n "__fish_use_subcommand" -f -a "internet.useragent" -d 'give a fake user agent' -complete -c pouf -n "__fish_use_subcommand" -f -a "lorem.word" -d 'give a fake word (in Latin)' -complete -c pouf -n "__fish_use_subcommand" -f -a "people.name" -d 'give a fake name' -complete -c pouf -n "__fish_use_subcommand" -f -a "time.time" -d 'give a fake time' -complete -c pouf -n "__fish_use_subcommand" -f -a "time.date" -d 'give a fake date' -complete -c pouf -n "__fish_use_subcommand" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' -complete -c pouf -n "__fish_seen_subcommand_from template" -s i -l input -d 'give an input template file (tera : https://tera.netlify.app/)' -r -F -complete -c pouf -n "__fish_seen_subcommand_from template" -s n -l number -d 'number of values' -r -complete -c pouf -n "__fish_seen_subcommand_from template" -s h -l help -d 'Print help' -complete -c pouf -n "__fish_seen_subcommand_from address.city" -s n -l number -d 'number of values' -r -complete -c pouf -n "__fish_seen_subcommand_from address.city" -s h -l help -d 'Print help' -complete -c pouf -n "__fish_seen_subcommand_from address.country" -s n -l number -d 'number of values' -r -complete -c pouf -n "__fish_seen_subcommand_from address.country" -s h -l help -d 'Print help' -complete -c pouf -n "__fish_seen_subcommand_from address.street" -s n -l number -d 'number of values' -r -complete -c pouf -n "__fish_seen_subcommand_from address.street" -s h -l help -d 'Print help' -complete -c pouf -n "__fish_seen_subcommand_from administrative.healthinsurrancecode" -s n -l number -d 'number of values' -r -complete -c pouf -n "__fish_seen_subcommand_from administrative.healthinsurrancecode" -s h -l help -d 'Print help' -complete -c pouf -n "__fish_seen_subcommand_from auto.licenseplate" -s n -l number -d 'number of values' -r -complete -c pouf -n "__fish_seen_subcommand_from auto.licenseplate" -s h -l help -d 'Print help' -complete -c pouf -n "__fish_seen_subcommand_from barcode.isbn" -s n -l number -d 'number of values' -r -complete -c pouf -n "__fish_seen_subcommand_from barcode.isbn" -s h -l help -d 'Print help' -complete -c pouf -n "__fish_seen_subcommand_from color" -s n -l number -d 'number of values' -r -complete -c pouf -n "__fish_seen_subcommand_from color" -s d -l hexa -d 'give a fake hexadecimal color' -complete -c pouf -n "__fish_seen_subcommand_from color" -s r -l rgb -d 'give a fake rgb color' -complete -c pouf -n "__fish_seen_subcommand_from color" -s a -l rgba -d 'give a fake rgba color' -complete -c pouf -n "__fish_seen_subcommand_from color" -s t -l hsl -d 'give a fake hsl (tsl) color' -complete -c pouf -n "__fish_seen_subcommand_from color" -s l -l hsla -d 'give a fake hsla (tsl) color' -complete -c pouf -n "__fish_seen_subcommand_from color" -s h -l help -d 'Print help' -complete -c pouf -n "__fish_seen_subcommand_from filesystem.mimetype" -s n -l number -d 'number of values' -r -complete -c pouf -n "__fish_seen_subcommand_from filesystem.mimetype" -s h -l help -d 'Print help' -complete -c pouf -n "__fish_seen_subcommand_from filesystem.semver" -s n -l number -d 'number of values' -r -complete -c pouf -n "__fish_seen_subcommand_from filesystem.semver" -s s -l stable -d 'give exclusivly stable semver version (X.Y.Z)' -complete -c pouf -n "__fish_seen_subcommand_from filesystem.semver" -s u -l unstable -d 'give exclusivly unstable semver version (X-Y-Z-V.W)' -complete -c pouf -n "__fish_seen_subcommand_from filesystem.semver" -s h -l help -d 'Print help' -complete -c pouf -n "__fish_seen_subcommand_from finance.bic" -s n -l number -d 'number of values' -r -complete -c pouf -n "__fish_seen_subcommand_from finance.bic" -s h -l help -d 'Print help' -complete -c pouf -n "__fish_seen_subcommand_from http.code" -s l -l lang -d 'give lang (ie: fr_FR)' -r -f -a "{fr ,fr_FR ,en }" -complete -c pouf -n "__fish_seen_subcommand_from http.code" -s n -l number -d 'number of values' -r -complete -c pouf -n "__fish_seen_subcommand_from http.code" -s h -l help -d 'Print help' -complete -c pouf -n "__fish_seen_subcommand_from internet.ip" -s n -l number -d 'number of values' -r -complete -c pouf -n "__fish_seen_subcommand_from internet.ip" -s 4 -l ipv4 -d 'give exclusivly IPv4' -complete -c pouf -n "__fish_seen_subcommand_from internet.ip" -s 6 -l ipv6 -d 'give exclusivly IPv6' -complete -c pouf -n "__fish_seen_subcommand_from internet.ip" -s h -l help -d 'Print help' -complete -c pouf -n "__fish_seen_subcommand_from internet.mac" -s n -l number -d 'number of values' -r -complete -c pouf -n "__fish_seen_subcommand_from internet.mac" -s h -l help -d 'Print help' -complete -c pouf -n "__fish_seen_subcommand_from internet.mail" -s n -l number -d 'number of values' -r -complete -c pouf -n "__fish_seen_subcommand_from internet.mail" -s h -l help -d 'Print help' -complete -c pouf -n "__fish_seen_subcommand_from internet.useragent" -s n -l number -d 'number of values' -r -complete -c pouf -n "__fish_seen_subcommand_from internet.useragent" -s h -l help -d 'Print help' -complete -c pouf -n "__fish_seen_subcommand_from lorem.word" -s n -l number -d 'number of values' -r -complete -c pouf -n "__fish_seen_subcommand_from lorem.word" -s h -l help -d 'Print help' -complete -c pouf -n "__fish_seen_subcommand_from people.name" -s l -l lang -d 'give lang (ie: fr_FR)' -r -f -a "{fr ,fr_FR ,en }" -complete -c pouf -n "__fish_seen_subcommand_from people.name" -s n -l number -d 'number of values' -r -complete -c pouf -n "__fish_seen_subcommand_from people.name" -s t -l title -d 'give a fake name title' -complete -c pouf -n "__fish_seen_subcommand_from people.name" -s w -l with-title -d 'give a fake name with her title' -complete -c pouf -n "__fish_seen_subcommand_from people.name" -s f -l firstname -d 'give a fake firstname' -complete -c pouf -n "__fish_seen_subcommand_from people.name" -s z -l lastname -d 'give a fake lastname' -complete -c pouf -n "__fish_seen_subcommand_from people.name" -s h -l help -d 'Print help' -complete -c pouf -n "__fish_seen_subcommand_from time.time" -s n -l number -d 'number of values' -r -complete -c pouf -n "__fish_seen_subcommand_from time.time" -s h -l help -d 'Print help' -complete -c pouf -n "__fish_seen_subcommand_from time.date" -s n -l number -d 'number of values' -r -complete -c pouf -n "__fish_seen_subcommand_from time.date" -s h -l help -d 'Print help' -complete -c pouf -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from template; and not __fish_seen_subcommand_from address.city; and not __fish_seen_subcommand_from address.country; and not __fish_seen_subcommand_from address.street; and not __fish_seen_subcommand_from administrative.healthinsurrancecode; and not __fish_seen_subcommand_from auto.licenseplate; and not __fish_seen_subcommand_from barcode.isbn; and not __fish_seen_subcommand_from color; and not __fish_seen_subcommand_from filesystem.mimetype; and not __fish_seen_subcommand_from filesystem.semver; and not __fish_seen_subcommand_from finance.bic; and not __fish_seen_subcommand_from http.code; and not __fish_seen_subcommand_from internet.ip; and not __fish_seen_subcommand_from internet.mac; and not __fish_seen_subcommand_from internet.mail; and not __fish_seen_subcommand_from internet.useragent; and not __fish_seen_subcommand_from lorem.word; and not __fish_seen_subcommand_from people.name; and not __fish_seen_subcommand_from time.time; and not __fish_seen_subcommand_from time.date; and not __fish_seen_subcommand_from help" -f -a "template" -d 'generate file with template' -complete -c pouf -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from template; and not __fish_seen_subcommand_from address.city; and not __fish_seen_subcommand_from address.country; and not __fish_seen_subcommand_from address.street; and not __fish_seen_subcommand_from administrative.healthinsurrancecode; and not __fish_seen_subcommand_from auto.licenseplate; and not __fish_seen_subcommand_from barcode.isbn; and not __fish_seen_subcommand_from color; and not __fish_seen_subcommand_from filesystem.mimetype; and not __fish_seen_subcommand_from filesystem.semver; and not __fish_seen_subcommand_from finance.bic; and not __fish_seen_subcommand_from http.code; and not __fish_seen_subcommand_from internet.ip; and not __fish_seen_subcommand_from internet.mac; and not __fish_seen_subcommand_from internet.mail; and not __fish_seen_subcommand_from internet.useragent; and not __fish_seen_subcommand_from lorem.word; and not __fish_seen_subcommand_from people.name; and not __fish_seen_subcommand_from time.time; and not __fish_seen_subcommand_from time.date; and not __fish_seen_subcommand_from help" -f -a "address.city" -d 'give a city name (English only)' -complete -c pouf -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from template; and not __fish_seen_subcommand_from address.city; and not __fish_seen_subcommand_from address.country; and not __fish_seen_subcommand_from address.street; and not __fish_seen_subcommand_from administrative.healthinsurrancecode; and not __fish_seen_subcommand_from auto.licenseplate; and not __fish_seen_subcommand_from barcode.isbn; and not __fish_seen_subcommand_from color; and not __fish_seen_subcommand_from filesystem.mimetype; and not __fish_seen_subcommand_from filesystem.semver; and not __fish_seen_subcommand_from finance.bic; and not __fish_seen_subcommand_from http.code; and not __fish_seen_subcommand_from internet.ip; and not __fish_seen_subcommand_from internet.mac; and not __fish_seen_subcommand_from internet.mail; and not __fish_seen_subcommand_from internet.useragent; and not __fish_seen_subcommand_from lorem.word; and not __fish_seen_subcommand_from people.name; and not __fish_seen_subcommand_from time.time; and not __fish_seen_subcommand_from time.date; and not __fish_seen_subcommand_from help" -f -a "address.country" -d 'give a country name and code (English only)' -complete -c pouf -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from template; and not __fish_seen_subcommand_from address.city; and not __fish_seen_subcommand_from address.country; and not __fish_seen_subcommand_from address.street; and not __fish_seen_subcommand_from administrative.healthinsurrancecode; and not __fish_seen_subcommand_from auto.licenseplate; and not __fish_seen_subcommand_from barcode.isbn; and not __fish_seen_subcommand_from color; and not __fish_seen_subcommand_from filesystem.mimetype; and not __fish_seen_subcommand_from filesystem.semver; and not __fish_seen_subcommand_from finance.bic; and not __fish_seen_subcommand_from http.code; and not __fish_seen_subcommand_from internet.ip; and not __fish_seen_subcommand_from internet.mac; and not __fish_seen_subcommand_from internet.mail; and not __fish_seen_subcommand_from internet.useragent; and not __fish_seen_subcommand_from lorem.word; and not __fish_seen_subcommand_from people.name; and not __fish_seen_subcommand_from time.time; and not __fish_seen_subcommand_from time.date; and not __fish_seen_subcommand_from help" -f -a "address.street" -d 'give a street name (English only)' -complete -c pouf -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from template; and not __fish_seen_subcommand_from address.city; and not __fish_seen_subcommand_from address.country; and not __fish_seen_subcommand_from address.street; and not __fish_seen_subcommand_from administrative.healthinsurrancecode; and not __fish_seen_subcommand_from auto.licenseplate; and not __fish_seen_subcommand_from barcode.isbn; and not __fish_seen_subcommand_from color; and not __fish_seen_subcommand_from filesystem.mimetype; and not __fish_seen_subcommand_from filesystem.semver; and not __fish_seen_subcommand_from finance.bic; and not __fish_seen_subcommand_from http.code; and not __fish_seen_subcommand_from internet.ip; and not __fish_seen_subcommand_from internet.mac; and not __fish_seen_subcommand_from internet.mail; and not __fish_seen_subcommand_from internet.useragent; and not __fish_seen_subcommand_from lorem.word; and not __fish_seen_subcommand_from people.name; and not __fish_seen_subcommand_from time.time; and not __fish_seen_subcommand_from time.date; and not __fish_seen_subcommand_from help" -f -a "administrative.healthinsurrancecode" -d 'give a Health insurrance code (French only)' -complete -c pouf -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from template; and not __fish_seen_subcommand_from address.city; and not __fish_seen_subcommand_from address.country; and not __fish_seen_subcommand_from address.street; and not __fish_seen_subcommand_from administrative.healthinsurrancecode; and not __fish_seen_subcommand_from auto.licenseplate; and not __fish_seen_subcommand_from barcode.isbn; and not __fish_seen_subcommand_from color; and not __fish_seen_subcommand_from filesystem.mimetype; and not __fish_seen_subcommand_from filesystem.semver; and not __fish_seen_subcommand_from finance.bic; and not __fish_seen_subcommand_from http.code; and not __fish_seen_subcommand_from internet.ip; and not __fish_seen_subcommand_from internet.mac; and not __fish_seen_subcommand_from internet.mail; and not __fish_seen_subcommand_from internet.useragent; and not __fish_seen_subcommand_from lorem.word; and not __fish_seen_subcommand_from people.name; and not __fish_seen_subcommand_from time.time; and not __fish_seen_subcommand_from time.date; and not __fish_seen_subcommand_from help" -f -a "auto.licenseplate" -d 'give an automotive license plate (French only)' -complete -c pouf -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from template; and not __fish_seen_subcommand_from address.city; and not __fish_seen_subcommand_from address.country; and not __fish_seen_subcommand_from address.street; and not __fish_seen_subcommand_from administrative.healthinsurrancecode; and not __fish_seen_subcommand_from auto.licenseplate; and not __fish_seen_subcommand_from barcode.isbn; and not __fish_seen_subcommand_from color; and not __fish_seen_subcommand_from filesystem.mimetype; and not __fish_seen_subcommand_from filesystem.semver; and not __fish_seen_subcommand_from finance.bic; and not __fish_seen_subcommand_from http.code; and not __fish_seen_subcommand_from internet.ip; and not __fish_seen_subcommand_from internet.mac; and not __fish_seen_subcommand_from internet.mail; and not __fish_seen_subcommand_from internet.useragent; and not __fish_seen_subcommand_from lorem.word; and not __fish_seen_subcommand_from people.name; and not __fish_seen_subcommand_from time.time; and not __fish_seen_subcommand_from time.date; and not __fish_seen_subcommand_from help" -f -a "barcode.isbn" -d 'give an isbn code' -complete -c pouf -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from template; and not __fish_seen_subcommand_from address.city; and not __fish_seen_subcommand_from address.country; and not __fish_seen_subcommand_from address.street; and not __fish_seen_subcommand_from administrative.healthinsurrancecode; and not __fish_seen_subcommand_from auto.licenseplate; and not __fish_seen_subcommand_from barcode.isbn; and not __fish_seen_subcommand_from color; and not __fish_seen_subcommand_from filesystem.mimetype; and not __fish_seen_subcommand_from filesystem.semver; and not __fish_seen_subcommand_from finance.bic; and not __fish_seen_subcommand_from http.code; and not __fish_seen_subcommand_from internet.ip; and not __fish_seen_subcommand_from internet.mac; and not __fish_seen_subcommand_from internet.mail; and not __fish_seen_subcommand_from internet.useragent; and not __fish_seen_subcommand_from lorem.word; and not __fish_seen_subcommand_from people.name; and not __fish_seen_subcommand_from time.time; and not __fish_seen_subcommand_from time.date; and not __fish_seen_subcommand_from help" -f -a "color" -d 'give a fake color (hexadécimal, rgb, rgba, hsl and hsla representation)' -complete -c pouf -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from template; and not __fish_seen_subcommand_from address.city; and not __fish_seen_subcommand_from address.country; and not __fish_seen_subcommand_from address.street; and not __fish_seen_subcommand_from administrative.healthinsurrancecode; and not __fish_seen_subcommand_from auto.licenseplate; and not __fish_seen_subcommand_from barcode.isbn; and not __fish_seen_subcommand_from color; and not __fish_seen_subcommand_from filesystem.mimetype; and not __fish_seen_subcommand_from filesystem.semver; and not __fish_seen_subcommand_from finance.bic; and not __fish_seen_subcommand_from http.code; and not __fish_seen_subcommand_from internet.ip; and not __fish_seen_subcommand_from internet.mac; and not __fish_seen_subcommand_from internet.mail; and not __fish_seen_subcommand_from internet.useragent; and not __fish_seen_subcommand_from lorem.word; and not __fish_seen_subcommand_from people.name; and not __fish_seen_subcommand_from time.time; and not __fish_seen_subcommand_from time.date; and not __fish_seen_subcommand_from help" -f -a "filesystem.mimetype" -d 'give a fake mime-type' -complete -c pouf -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from template; and not __fish_seen_subcommand_from address.city; and not __fish_seen_subcommand_from address.country; and not __fish_seen_subcommand_from address.street; and not __fish_seen_subcommand_from administrative.healthinsurrancecode; and not __fish_seen_subcommand_from auto.licenseplate; and not __fish_seen_subcommand_from barcode.isbn; and not __fish_seen_subcommand_from color; and not __fish_seen_subcommand_from filesystem.mimetype; and not __fish_seen_subcommand_from filesystem.semver; and not __fish_seen_subcommand_from finance.bic; and not __fish_seen_subcommand_from http.code; and not __fish_seen_subcommand_from internet.ip; and not __fish_seen_subcommand_from internet.mac; and not __fish_seen_subcommand_from internet.mail; and not __fish_seen_subcommand_from internet.useragent; and not __fish_seen_subcommand_from lorem.word; and not __fish_seen_subcommand_from people.name; and not __fish_seen_subcommand_from time.time; and not __fish_seen_subcommand_from time.date; and not __fish_seen_subcommand_from help" -f -a "filesystem.semver" -d 'give a fake semver version' -complete -c pouf -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from template; and not __fish_seen_subcommand_from address.city; and not __fish_seen_subcommand_from address.country; and not __fish_seen_subcommand_from address.street; and not __fish_seen_subcommand_from administrative.healthinsurrancecode; and not __fish_seen_subcommand_from auto.licenseplate; and not __fish_seen_subcommand_from barcode.isbn; and not __fish_seen_subcommand_from color; and not __fish_seen_subcommand_from filesystem.mimetype; and not __fish_seen_subcommand_from filesystem.semver; and not __fish_seen_subcommand_from finance.bic; and not __fish_seen_subcommand_from http.code; and not __fish_seen_subcommand_from internet.ip; and not __fish_seen_subcommand_from internet.mac; and not __fish_seen_subcommand_from internet.mail; and not __fish_seen_subcommand_from internet.useragent; and not __fish_seen_subcommand_from lorem.word; and not __fish_seen_subcommand_from people.name; and not __fish_seen_subcommand_from time.time; and not __fish_seen_subcommand_from time.date; and not __fish_seen_subcommand_from help" -f -a "finance.bic" -d 'give a fake BIC (Business Identifier Code)' -complete -c pouf -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from template; and not __fish_seen_subcommand_from address.city; and not __fish_seen_subcommand_from address.country; and not __fish_seen_subcommand_from address.street; and not __fish_seen_subcommand_from administrative.healthinsurrancecode; and not __fish_seen_subcommand_from auto.licenseplate; and not __fish_seen_subcommand_from barcode.isbn; and not __fish_seen_subcommand_from color; and not __fish_seen_subcommand_from filesystem.mimetype; and not __fish_seen_subcommand_from filesystem.semver; and not __fish_seen_subcommand_from finance.bic; and not __fish_seen_subcommand_from http.code; and not __fish_seen_subcommand_from internet.ip; and not __fish_seen_subcommand_from internet.mac; and not __fish_seen_subcommand_from internet.mail; and not __fish_seen_subcommand_from internet.useragent; and not __fish_seen_subcommand_from lorem.word; and not __fish_seen_subcommand_from people.name; and not __fish_seen_subcommand_from time.time; and not __fish_seen_subcommand_from time.date; and not __fish_seen_subcommand_from help" -f -a "http.code" -d 'give a fake HTTP code' -complete -c pouf -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from template; and not __fish_seen_subcommand_from address.city; and not __fish_seen_subcommand_from address.country; and not __fish_seen_subcommand_from address.street; and not __fish_seen_subcommand_from administrative.healthinsurrancecode; and not __fish_seen_subcommand_from auto.licenseplate; and not __fish_seen_subcommand_from barcode.isbn; and not __fish_seen_subcommand_from color; and not __fish_seen_subcommand_from filesystem.mimetype; and not __fish_seen_subcommand_from filesystem.semver; and not __fish_seen_subcommand_from finance.bic; and not __fish_seen_subcommand_from http.code; and not __fish_seen_subcommand_from internet.ip; and not __fish_seen_subcommand_from internet.mac; and not __fish_seen_subcommand_from internet.mail; and not __fish_seen_subcommand_from internet.useragent; and not __fish_seen_subcommand_from lorem.word; and not __fish_seen_subcommand_from people.name; and not __fish_seen_subcommand_from time.time; and not __fish_seen_subcommand_from time.date; and not __fish_seen_subcommand_from help" -f -a "internet.ip" -d 'give a fake IP (Internet Protocol)' -complete -c pouf -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from template; and not __fish_seen_subcommand_from address.city; and not __fish_seen_subcommand_from address.country; and not __fish_seen_subcommand_from address.street; and not __fish_seen_subcommand_from administrative.healthinsurrancecode; and not __fish_seen_subcommand_from auto.licenseplate; and not __fish_seen_subcommand_from barcode.isbn; and not __fish_seen_subcommand_from color; and not __fish_seen_subcommand_from filesystem.mimetype; and not __fish_seen_subcommand_from filesystem.semver; and not __fish_seen_subcommand_from finance.bic; and not __fish_seen_subcommand_from http.code; and not __fish_seen_subcommand_from internet.ip; and not __fish_seen_subcommand_from internet.mac; and not __fish_seen_subcommand_from internet.mail; and not __fish_seen_subcommand_from internet.useragent; and not __fish_seen_subcommand_from lorem.word; and not __fish_seen_subcommand_from people.name; and not __fish_seen_subcommand_from time.time; and not __fish_seen_subcommand_from time.date; and not __fish_seen_subcommand_from help" -f -a "internet.mac" -d 'give a fake mac adress' -complete -c pouf -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from template; and not __fish_seen_subcommand_from address.city; and not __fish_seen_subcommand_from address.country; and not __fish_seen_subcommand_from address.street; and not __fish_seen_subcommand_from administrative.healthinsurrancecode; and not __fish_seen_subcommand_from auto.licenseplate; and not __fish_seen_subcommand_from barcode.isbn; and not __fish_seen_subcommand_from color; and not __fish_seen_subcommand_from filesystem.mimetype; and not __fish_seen_subcommand_from filesystem.semver; and not __fish_seen_subcommand_from finance.bic; and not __fish_seen_subcommand_from http.code; and not __fish_seen_subcommand_from internet.ip; and not __fish_seen_subcommand_from internet.mac; and not __fish_seen_subcommand_from internet.mail; and not __fish_seen_subcommand_from internet.useragent; and not __fish_seen_subcommand_from lorem.word; and not __fish_seen_subcommand_from people.name; and not __fish_seen_subcommand_from time.time; and not __fish_seen_subcommand_from time.date; and not __fish_seen_subcommand_from help" -f -a "internet.mail" -d 'give a fake mail' -complete -c pouf -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from template; and not __fish_seen_subcommand_from address.city; and not __fish_seen_subcommand_from address.country; and not __fish_seen_subcommand_from address.street; and not __fish_seen_subcommand_from administrative.healthinsurrancecode; and not __fish_seen_subcommand_from auto.licenseplate; and not __fish_seen_subcommand_from barcode.isbn; and not __fish_seen_subcommand_from color; and not __fish_seen_subcommand_from filesystem.mimetype; and not __fish_seen_subcommand_from filesystem.semver; and not __fish_seen_subcommand_from finance.bic; and not __fish_seen_subcommand_from http.code; and not __fish_seen_subcommand_from internet.ip; and not __fish_seen_subcommand_from internet.mac; and not __fish_seen_subcommand_from internet.mail; and not __fish_seen_subcommand_from internet.useragent; and not __fish_seen_subcommand_from lorem.word; and not __fish_seen_subcommand_from people.name; and not __fish_seen_subcommand_from time.time; and not __fish_seen_subcommand_from time.date; and not __fish_seen_subcommand_from help" -f -a "internet.useragent" -d 'give a fake user agent' -complete -c pouf -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from template; and not __fish_seen_subcommand_from address.city; and not __fish_seen_subcommand_from address.country; and not __fish_seen_subcommand_from address.street; and not __fish_seen_subcommand_from administrative.healthinsurrancecode; and not __fish_seen_subcommand_from auto.licenseplate; and not __fish_seen_subcommand_from barcode.isbn; and not __fish_seen_subcommand_from color; and not __fish_seen_subcommand_from filesystem.mimetype; and not __fish_seen_subcommand_from filesystem.semver; and not __fish_seen_subcommand_from finance.bic; and not __fish_seen_subcommand_from http.code; and not __fish_seen_subcommand_from internet.ip; and not __fish_seen_subcommand_from internet.mac; and not __fish_seen_subcommand_from internet.mail; and not __fish_seen_subcommand_from internet.useragent; and not __fish_seen_subcommand_from lorem.word; and not __fish_seen_subcommand_from people.name; and not __fish_seen_subcommand_from time.time; and not __fish_seen_subcommand_from time.date; and not __fish_seen_subcommand_from help" -f -a "lorem.word" -d 'give a fake word (in Latin)' -complete -c pouf -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from template; and not __fish_seen_subcommand_from address.city; and not __fish_seen_subcommand_from address.country; and not __fish_seen_subcommand_from address.street; and not __fish_seen_subcommand_from administrative.healthinsurrancecode; and not __fish_seen_subcommand_from auto.licenseplate; and not __fish_seen_subcommand_from barcode.isbn; and not __fish_seen_subcommand_from color; and not __fish_seen_subcommand_from filesystem.mimetype; and not __fish_seen_subcommand_from filesystem.semver; and not __fish_seen_subcommand_from finance.bic; and not __fish_seen_subcommand_from http.code; and not __fish_seen_subcommand_from internet.ip; and not __fish_seen_subcommand_from internet.mac; and not __fish_seen_subcommand_from internet.mail; and not __fish_seen_subcommand_from internet.useragent; and not __fish_seen_subcommand_from lorem.word; and not __fish_seen_subcommand_from people.name; and not __fish_seen_subcommand_from time.time; and not __fish_seen_subcommand_from time.date; and not __fish_seen_subcommand_from help" -f -a "people.name" -d 'give a fake name' -complete -c pouf -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from template; and not __fish_seen_subcommand_from address.city; and not __fish_seen_subcommand_from address.country; and not __fish_seen_subcommand_from address.street; and not __fish_seen_subcommand_from administrative.healthinsurrancecode; and not __fish_seen_subcommand_from auto.licenseplate; and not __fish_seen_subcommand_from barcode.isbn; and not __fish_seen_subcommand_from color; and not __fish_seen_subcommand_from filesystem.mimetype; and not __fish_seen_subcommand_from filesystem.semver; and not __fish_seen_subcommand_from finance.bic; and not __fish_seen_subcommand_from http.code; and not __fish_seen_subcommand_from internet.ip; and not __fish_seen_subcommand_from internet.mac; and not __fish_seen_subcommand_from internet.mail; and not __fish_seen_subcommand_from internet.useragent; and not __fish_seen_subcommand_from lorem.word; and not __fish_seen_subcommand_from people.name; and not __fish_seen_subcommand_from time.time; and not __fish_seen_subcommand_from time.date; and not __fish_seen_subcommand_from help" -f -a "time.time" -d 'give a fake time' -complete -c pouf -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from template; and not __fish_seen_subcommand_from address.city; and not __fish_seen_subcommand_from address.country; and not __fish_seen_subcommand_from address.street; and not __fish_seen_subcommand_from administrative.healthinsurrancecode; and not __fish_seen_subcommand_from auto.licenseplate; and not __fish_seen_subcommand_from barcode.isbn; and not __fish_seen_subcommand_from color; and not __fish_seen_subcommand_from filesystem.mimetype; and not __fish_seen_subcommand_from filesystem.semver; and not __fish_seen_subcommand_from finance.bic; and not __fish_seen_subcommand_from http.code; and not __fish_seen_subcommand_from internet.ip; and not __fish_seen_subcommand_from internet.mac; and not __fish_seen_subcommand_from internet.mail; and not __fish_seen_subcommand_from internet.useragent; and not __fish_seen_subcommand_from lorem.word; and not __fish_seen_subcommand_from people.name; and not __fish_seen_subcommand_from time.time; and not __fish_seen_subcommand_from time.date; and not __fish_seen_subcommand_from help" -f -a "time.date" -d 'give a fake date' -complete -c pouf -n "__fish_seen_subcommand_from help; and not __fish_seen_subcommand_from template; and not __fish_seen_subcommand_from address.city; and not __fish_seen_subcommand_from address.country; and not __fish_seen_subcommand_from address.street; and not __fish_seen_subcommand_from administrative.healthinsurrancecode; and not __fish_seen_subcommand_from auto.licenseplate; and not __fish_seen_subcommand_from barcode.isbn; and not __fish_seen_subcommand_from color; and not __fish_seen_subcommand_from filesystem.mimetype; and not __fish_seen_subcommand_from filesystem.semver; and not __fish_seen_subcommand_from finance.bic; and not __fish_seen_subcommand_from http.code; and not __fish_seen_subcommand_from internet.ip; and not __fish_seen_subcommand_from internet.mac; and not __fish_seen_subcommand_from internet.mail; and not __fish_seen_subcommand_from internet.useragent; and not __fish_seen_subcommand_from lorem.word; and not __fish_seen_subcommand_from people.name; and not __fish_seen_subcommand_from time.time; and not __fish_seen_subcommand_from time.date; and not __fish_seen_subcommand_from help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' +# Print an optspec for argparse to handle cmd's options that are independent of any subcommand. +function __fish_pouf_global_optspecs + string join \n h/help V/version +end + +function __fish_pouf_needs_command + # Figure out if the current invocation already has a command. + set -l cmd (commandline -opc) + set -e cmd[1] + argparse -s (__fish_pouf_global_optspecs) -- $cmd 2>/dev/null + or return + if set -q argv[1] + # Also print the command, so this can be used to figure out what it is. + echo $argv[1] + return 1 + end + return 0 +end + +function __fish_pouf_using_subcommand + set -l cmd (__fish_pouf_needs_command) + test -z "$cmd" + and return 1 + contains -- $cmd[1] $argv +end + +complete -c pouf -n "__fish_pouf_needs_command" -s h -l help -d 'Print help' +complete -c pouf -n "__fish_pouf_needs_command" -s V -l version -d 'Print version' +complete -c pouf -n "__fish_pouf_needs_command" -f -a "template" -d 'generate file with template' +complete -c pouf -n "__fish_pouf_needs_command" -f -a "address.city" -d 'give a city name (English only)' +complete -c pouf -n "__fish_pouf_needs_command" -f -a "address.country" -d 'give a country name and code (English only)' +complete -c pouf -n "__fish_pouf_needs_command" -f -a "address.street" -d 'give a street name (English only)' +complete -c pouf -n "__fish_pouf_needs_command" -f -a "administrative.healthinsurrancecode" -d 'give a Health insurrance code (French only)' +complete -c pouf -n "__fish_pouf_needs_command" -f -a "auto.licenseplate" -d 'give an automotive license plate (French only)' +complete -c pouf -n "__fish_pouf_needs_command" -f -a "barcode.isbn" -d 'give an isbn code' +complete -c pouf -n "__fish_pouf_needs_command" -f -a "color" -d 'give a fake color (hexadécimal, rgb, rgba, hsl and hsla representation)' +complete -c pouf -n "__fish_pouf_needs_command" -f -a "filesystem.mimetype" -d 'give a fake mime-type' +complete -c pouf -n "__fish_pouf_needs_command" -f -a "filesystem.semver" -d 'give a fake semver version' +complete -c pouf -n "__fish_pouf_needs_command" -f -a "finance.bic" -d 'give a fake BIC (Business Identifier Code)' +complete -c pouf -n "__fish_pouf_needs_command" -f -a "http.code" -d 'give a fake HTTP code' +complete -c pouf -n "__fish_pouf_needs_command" -f -a "internet.ip" -d 'give a fake IP (Internet Protocol)' +complete -c pouf -n "__fish_pouf_needs_command" -f -a "internet.mac" -d 'give a fake mac adress' +complete -c pouf -n "__fish_pouf_needs_command" -f -a "internet.mail" -d 'give a fake mail' +complete -c pouf -n "__fish_pouf_needs_command" -f -a "internet.useragent" -d 'give a fake user agent' +complete -c pouf -n "__fish_pouf_needs_command" -f -a "lorem.word" -d 'give a fake word (in Latin)' +complete -c pouf -n "__fish_pouf_needs_command" -f -a "people.name" -d 'give a fake name' +complete -c pouf -n "__fish_pouf_needs_command" -f -a "time.time" -d 'give a fake time' +complete -c pouf -n "__fish_pouf_needs_command" -f -a "time.date" -d 'give a fake date' +complete -c pouf -n "__fish_pouf_needs_command" -f -a "help" -d 'Print this message or the help of the given subcommand(s)' +complete -c pouf -n "__fish_pouf_using_subcommand template" -s i -l input -d 'give an input template file (tera : https://tera.netlify.app/)' -r -F +complete -c pouf -n "__fish_pouf_using_subcommand template" -s n -l number -d 'number of values' -r +complete -c pouf -n "__fish_pouf_using_subcommand template" -s h -l help -d 'Print help' +complete -c pouf -n "__fish_pouf_using_subcommand address.city" -s n -l number -d 'number of values' -r +complete -c pouf -n "__fish_pouf_using_subcommand address.city" -s h -l help -d 'Print help' +complete -c pouf -n "__fish_pouf_using_subcommand address.country" -s n -l number -d 'number of values' -r +complete -c pouf -n "__fish_pouf_using_subcommand address.country" -s h -l help -d 'Print help' +complete -c pouf -n "__fish_pouf_using_subcommand address.street" -s n -l number -d 'number of values' -r +complete -c pouf -n "__fish_pouf_using_subcommand address.street" -s h -l help -d 'Print help' +complete -c pouf -n "__fish_pouf_using_subcommand administrative.healthinsurrancecode" -s n -l number -d 'number of values' -r +complete -c pouf -n "__fish_pouf_using_subcommand administrative.healthinsurrancecode" -s h -l help -d 'Print help' +complete -c pouf -n "__fish_pouf_using_subcommand auto.licenseplate" -s n -l number -d 'number of values' -r +complete -c pouf -n "__fish_pouf_using_subcommand auto.licenseplate" -s h -l help -d 'Print help' +complete -c pouf -n "__fish_pouf_using_subcommand barcode.isbn" -s n -l number -d 'number of values' -r +complete -c pouf -n "__fish_pouf_using_subcommand barcode.isbn" -s h -l help -d 'Print help' +complete -c pouf -n "__fish_pouf_using_subcommand color" -s n -l number -d 'number of values' -r +complete -c pouf -n "__fish_pouf_using_subcommand color" -s d -l hexa -d 'give a fake hexadecimal color' +complete -c pouf -n "__fish_pouf_using_subcommand color" -s r -l rgb -d 'give a fake rgb color' +complete -c pouf -n "__fish_pouf_using_subcommand color" -s a -l rgba -d 'give a fake rgba color' +complete -c pouf -n "__fish_pouf_using_subcommand color" -s t -l hsl -d 'give a fake hsl (tsl) color' +complete -c pouf -n "__fish_pouf_using_subcommand color" -s l -l hsla -d 'give a fake hsla (tsl) color' +complete -c pouf -n "__fish_pouf_using_subcommand color" -s h -l help -d 'Print help' +complete -c pouf -n "__fish_pouf_using_subcommand filesystem.mimetype" -s n -l number -d 'number of values' -r +complete -c pouf -n "__fish_pouf_using_subcommand filesystem.mimetype" -s h -l help -d 'Print help' +complete -c pouf -n "__fish_pouf_using_subcommand filesystem.semver" -s n -l number -d 'number of values' -r +complete -c pouf -n "__fish_pouf_using_subcommand filesystem.semver" -s s -l stable -d 'give exclusivly stable semver version (X.Y.Z)' +complete -c pouf -n "__fish_pouf_using_subcommand filesystem.semver" -s u -l unstable -d 'give exclusivly unstable semver version (X-Y-Z-V.W)' +complete -c pouf -n "__fish_pouf_using_subcommand filesystem.semver" -s h -l help -d 'Print help' +complete -c pouf -n "__fish_pouf_using_subcommand finance.bic" -s n -l number -d 'number of values' -r +complete -c pouf -n "__fish_pouf_using_subcommand finance.bic" -s h -l help -d 'Print help' +complete -c pouf -n "__fish_pouf_using_subcommand http.code" -s l -l lang -d 'give lang (ie: fr_FR)' -r -f -a "{fr\t'',fr_FR\t'',en\t''}" +complete -c pouf -n "__fish_pouf_using_subcommand http.code" -s n -l number -d 'number of values' -r +complete -c pouf -n "__fish_pouf_using_subcommand http.code" -s h -l help -d 'Print help' +complete -c pouf -n "__fish_pouf_using_subcommand internet.ip" -s n -l number -d 'number of values' -r +complete -c pouf -n "__fish_pouf_using_subcommand internet.ip" -s 4 -l ipv4 -d 'give exclusivly IPv4' +complete -c pouf -n "__fish_pouf_using_subcommand internet.ip" -s 6 -l ipv6 -d 'give exclusivly IPv6' +complete -c pouf -n "__fish_pouf_using_subcommand internet.ip" -s h -l help -d 'Print help' +complete -c pouf -n "__fish_pouf_using_subcommand internet.mac" -s n -l number -d 'number of values' -r +complete -c pouf -n "__fish_pouf_using_subcommand internet.mac" -s h -l help -d 'Print help' +complete -c pouf -n "__fish_pouf_using_subcommand internet.mail" -s n -l number -d 'number of values' -r +complete -c pouf -n "__fish_pouf_using_subcommand internet.mail" -s h -l help -d 'Print help' +complete -c pouf -n "__fish_pouf_using_subcommand internet.useragent" -s n -l number -d 'number of values' -r +complete -c pouf -n "__fish_pouf_using_subcommand internet.useragent" -s h -l help -d 'Print help' +complete -c pouf -n "__fish_pouf_using_subcommand lorem.word" -s n -l number -d 'number of values' -r +complete -c pouf -n "__fish_pouf_using_subcommand lorem.word" -s h -l help -d 'Print help' +complete -c pouf -n "__fish_pouf_using_subcommand people.name" -s l -l lang -d 'give lang (ie: fr_FR)' -r -f -a "{fr\t'',fr_FR\t'',en\t''}" +complete -c pouf -n "__fish_pouf_using_subcommand people.name" -s n -l number -d 'number of values' -r +complete -c pouf -n "__fish_pouf_using_subcommand people.name" -s t -l title -d 'give a fake name title' +complete -c pouf -n "__fish_pouf_using_subcommand people.name" -s w -l with-title -d 'give a fake name with her title' +complete -c pouf -n "__fish_pouf_using_subcommand people.name" -s f -l firstname -d 'give a fake firstname' +complete -c pouf -n "__fish_pouf_using_subcommand people.name" -s z -l lastname -d 'give a fake lastname' +complete -c pouf -n "__fish_pouf_using_subcommand people.name" -s h -l help -d 'Print help' +complete -c pouf -n "__fish_pouf_using_subcommand time.time" -s n -l number -d 'number of values' -r +complete -c pouf -n "__fish_pouf_using_subcommand time.time" -s h -l help -d 'Print help' +complete -c pouf -n "__fish_pouf_using_subcommand time.date" -s n -l number -d 'number of values' -r +complete -c pouf -n "__fish_pouf_using_subcommand time.date" -s h -l help -d 'Print help' +complete -c pouf -n "__fish_pouf_using_subcommand help; and not __fish_seen_subcommand_from template address.city address.country address.street administrative.healthinsurrancecode auto.licenseplate barcode.isbn color filesystem.mimetype filesystem.semver finance.bic http.code internet.ip internet.mac internet.mail internet.useragent lorem.word people.name time.time time.date help" -f -a "template" -d 'generate file with template' +complete -c pouf -n "__fish_pouf_using_subcommand help; and not __fish_seen_subcommand_from template address.city address.country address.street administrative.healthinsurrancecode auto.licenseplate barcode.isbn color filesystem.mimetype filesystem.semver finance.bic http.code internet.ip internet.mac internet.mail internet.useragent lorem.word people.name time.time time.date help" -f -a "address.city" -d 'give a city name (English only)' +complete -c pouf -n "__fish_pouf_using_subcommand help; and not __fish_seen_subcommand_from template address.city address.country address.street administrative.healthinsurrancecode auto.licenseplate barcode.isbn color filesystem.mimetype filesystem.semver finance.bic http.code internet.ip internet.mac internet.mail internet.useragent lorem.word people.name time.time time.date help" -f -a "address.country" -d 'give a country name and code (English only)' +complete -c pouf -n "__fish_pouf_using_subcommand help; and not __fish_seen_subcommand_from template address.city address.country address.street administrative.healthinsurrancecode auto.licenseplate barcode.isbn color filesystem.mimetype filesystem.semver finance.bic http.code internet.ip internet.mac internet.mail internet.useragent lorem.word people.name time.time time.date help" -f -a "address.street" -d 'give a street name (English only)' +complete -c pouf -n "__fish_pouf_using_subcommand help; and not __fish_seen_subcommand_from template address.city address.country address.street administrative.healthinsurrancecode auto.licenseplate barcode.isbn color filesystem.mimetype filesystem.semver finance.bic http.code internet.ip internet.mac internet.mail internet.useragent lorem.word people.name time.time time.date help" -f -a "administrative.healthinsurrancecode" -d 'give a Health insurrance code (French only)' +complete -c pouf -n "__fish_pouf_using_subcommand help; and not __fish_seen_subcommand_from template address.city address.country address.street administrative.healthinsurrancecode auto.licenseplate barcode.isbn color filesystem.mimetype filesystem.semver finance.bic http.code internet.ip internet.mac internet.mail internet.useragent lorem.word people.name time.time time.date help" -f -a "auto.licenseplate" -d 'give an automotive license plate (French only)' +complete -c pouf -n "__fish_pouf_using_subcommand help; and not __fish_seen_subcommand_from template address.city address.country address.street administrative.healthinsurrancecode auto.licenseplate barcode.isbn color filesystem.mimetype filesystem.semver finance.bic http.code internet.ip internet.mac internet.mail internet.useragent lorem.word people.name time.time time.date help" -f -a "barcode.isbn" -d 'give an isbn code' +complete -c pouf -n "__fish_pouf_using_subcommand help; and not __fish_seen_subcommand_from template address.city address.country address.street administrative.healthinsurrancecode auto.licenseplate barcode.isbn color filesystem.mimetype filesystem.semver finance.bic http.code internet.ip internet.mac internet.mail internet.useragent lorem.word people.name time.time time.date help" -f -a "color" -d 'give a fake color (hexadécimal, rgb, rgba, hsl and hsla representation)' +complete -c pouf -n "__fish_pouf_using_subcommand help; and not __fish_seen_subcommand_from template address.city address.country address.street administrative.healthinsurrancecode auto.licenseplate barcode.isbn color filesystem.mimetype filesystem.semver finance.bic http.code internet.ip internet.mac internet.mail internet.useragent lorem.word people.name time.time time.date help" -f -a "filesystem.mimetype" -d 'give a fake mime-type' +complete -c pouf -n "__fish_pouf_using_subcommand help; and not __fish_seen_subcommand_from template address.city address.country address.street administrative.healthinsurrancecode auto.licenseplate barcode.isbn color filesystem.mimetype filesystem.semver finance.bic http.code internet.ip internet.mac internet.mail internet.useragent lorem.word people.name time.time time.date help" -f -a "filesystem.semver" -d 'give a fake semver version' +complete -c pouf -n "__fish_pouf_using_subcommand help; and not __fish_seen_subcommand_from template address.city address.country address.street administrative.healthinsurrancecode auto.licenseplate barcode.isbn color filesystem.mimetype filesystem.semver finance.bic http.code internet.ip internet.mac internet.mail internet.useragent lorem.word people.name time.time time.date help" -f -a "finance.bic" -d 'give a fake BIC (Business Identifier Code)' +complete -c pouf -n "__fish_pouf_using_subcommand help; and not __fish_seen_subcommand_from template address.city address.country address.street administrative.healthinsurrancecode auto.licenseplate barcode.isbn color filesystem.mimetype filesystem.semver finance.bic http.code internet.ip internet.mac internet.mail internet.useragent lorem.word people.name time.time time.date help" -f -a "http.code" -d 'give a fake HTTP code' +complete -c pouf -n "__fish_pouf_using_subcommand help; and not __fish_seen_subcommand_from template address.city address.country address.street administrative.healthinsurrancecode auto.licenseplate barcode.isbn color filesystem.mimetype filesystem.semver finance.bic http.code internet.ip internet.mac internet.mail internet.useragent lorem.word people.name time.time time.date help" -f -a "internet.ip" -d 'give a fake IP (Internet Protocol)' +complete -c pouf -n "__fish_pouf_using_subcommand help; and not __fish_seen_subcommand_from template address.city address.country address.street administrative.healthinsurrancecode auto.licenseplate barcode.isbn color filesystem.mimetype filesystem.semver finance.bic http.code internet.ip internet.mac internet.mail internet.useragent lorem.word people.name time.time time.date help" -f -a "internet.mac" -d 'give a fake mac adress' +complete -c pouf -n "__fish_pouf_using_subcommand help; and not __fish_seen_subcommand_from template address.city address.country address.street administrative.healthinsurrancecode auto.licenseplate barcode.isbn color filesystem.mimetype filesystem.semver finance.bic http.code internet.ip internet.mac internet.mail internet.useragent lorem.word people.name time.time time.date help" -f -a "internet.mail" -d 'give a fake mail' +complete -c pouf -n "__fish_pouf_using_subcommand help; and not __fish_seen_subcommand_from template address.city address.country address.street administrative.healthinsurrancecode auto.licenseplate barcode.isbn color filesystem.mimetype filesystem.semver finance.bic http.code internet.ip internet.mac internet.mail internet.useragent lorem.word people.name time.time time.date help" -f -a "internet.useragent" -d 'give a fake user agent' +complete -c pouf -n "__fish_pouf_using_subcommand help; and not __fish_seen_subcommand_from template address.city address.country address.street administrative.healthinsurrancecode auto.licenseplate barcode.isbn color filesystem.mimetype filesystem.semver finance.bic http.code internet.ip internet.mac internet.mail internet.useragent lorem.word people.name time.time time.date help" -f -a "lorem.word" -d 'give a fake word (in Latin)' +complete -c pouf -n "__fish_pouf_using_subcommand help; and not __fish_seen_subcommand_from template address.city address.country address.street administrative.healthinsurrancecode auto.licenseplate barcode.isbn color filesystem.mimetype filesystem.semver finance.bic http.code internet.ip internet.mac internet.mail internet.useragent lorem.word people.name time.time time.date help" -f -a "people.name" -d 'give a fake name' +complete -c pouf -n "__fish_pouf_using_subcommand help; and not __fish_seen_subcommand_from template address.city address.country address.street administrative.healthinsurrancecode auto.licenseplate barcode.isbn color filesystem.mimetype filesystem.semver finance.bic http.code internet.ip internet.mac internet.mail internet.useragent lorem.word people.name time.time time.date help" -f -a "time.time" -d 'give a fake time' +complete -c pouf -n "__fish_pouf_using_subcommand help; and not __fish_seen_subcommand_from template address.city address.country address.street administrative.healthinsurrancecode auto.licenseplate barcode.isbn color filesystem.mimetype filesystem.semver finance.bic http.code internet.ip internet.mac internet.mail internet.useragent lorem.word people.name time.time time.date help" -f -a "time.date" -d 'give a fake date' +complete -c pouf -n "__fish_pouf_using_subcommand help; and not __fish_seen_subcommand_from template address.city address.country address.street administrative.healthinsurrancecode auto.licenseplate barcode.isbn color filesystem.mimetype filesystem.semver finance.bic http.code internet.ip internet.mac internet.mail internet.useragent lorem.word people.name time.time time.date help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'