{"id":22870335,"url":"https://github.com/berquerant/lisel","last_synced_at":"2025-05-07T15:24:31.560Z","repository":{"id":239911863,"uuid":"800549660","full_name":"berquerant/lisel","owner":"berquerant","description":"Select lines from target by index","archived":false,"fork":false,"pushed_at":"2025-04-21T14:59:55.000Z","size":145,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-21T15:43:12.823Z","etag":null,"topics":["rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/berquerant.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-05-14T14:47:00.000Z","updated_at":"2025-04-21T14:59:53.000Z","dependencies_parsed_at":"2024-09-09T15:41:19.963Z","dependency_job_id":"af884d85-c395-4ac0-86d2-8f28772bba2d","html_url":"https://github.com/berquerant/lisel","commit_stats":null,"previous_names":["berquerant/lisel"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berquerant%2Flisel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berquerant%2Flisel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berquerant%2Flisel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berquerant%2Flisel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/berquerant","download_url":"https://codeload.github.com/berquerant/lisel/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252903717,"owners_count":21822493,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["rust"],"created_at":"2024-12-13T13:14:34.590Z","updated_at":"2025-05-07T15:24:31.528Z","avatar_url":"https://github.com/berquerant.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lisel\n\n```\n❯ lisel --help\nSelect lines from target by index\n\nUsage: lisel [OPTIONS] [FILE]...\n\nArguments:\n  [FILE]...\n          Target filenames, accepts one (INDEX) or two filenames (INDEX and TARGET).\n          \n          2 files:\n          The first file is INDEX, the second is TARGET.\n          \n          1 file:\n          The file is INDEX, stdin is TARGET.\n\nOptions:\n  -s, --swap-file-role\n          Swap file role: INDEX and TARGET\n\n  -e, --index-regex \u003cINDEX_REGEX\u003e\n          Regular expression to determine whether the index of the row exists.\n          \n          When a certain line in INDEX matches, output the TARGET line corresponding to that line number.\n          Default: .+\n\n  -v, --index-invert-match\n          Reverse lines to output and lines not to output\n\n  -n, --index-line-number\n          Use line number index.\n          \n          Instead of selecting rows from INDEX with regular expression, use a line in the following format as index.\n          \n            LINE_NUMBER\n          \n          selects line LINE_NUMBER of TARGET.\n          \n            LINE_START,LINE_END\n          \n          selects lines LINE_START to LINE_END (LINE_START \u003c= LINE_END) of TARGET.\n          \n            LINE_START,\n          \n          selects lines LINE_START of TARGET to the end of TARGET.\n          \n            ,LINE_END\n          \n          selects lines the beginning of TARGET to LINE_END of TARGET.\n          \n          LINE_NUMBER and LINE_START are greater than the LINE_NUMBER and LINE_END of previous lines in the INDEX file.\n          \n          Debug logging can be enabled via RUST_LOG in env_logger https://crates.io/crates/env_logger.\n\n  -h, --help\n          Print help (see a summary with '-h')\n\n  -V, --version\n          Print version\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fberquerant%2Flisel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fberquerant%2Flisel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fberquerant%2Flisel/lists"}