{"id":16816134,"url":"https://github.com/zeripath/octave-argumentparser","last_synced_at":"2026-02-19T06:01:52.599Z","repository":{"id":146780779,"uuid":"45748961","full_name":"zeripath/Octave-ArgumentParser","owner":"zeripath","description":"ArgumentParser for Octave/Matlab","archived":false,"fork":false,"pushed_at":"2016-01-22T18:13:58.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-22T21:49:30.929Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Matlab","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zeripath.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-07T18:31:43.000Z","updated_at":"2018-12-20T09:01:41.000Z","dependencies_parsed_at":"2023-04-18T21:04:12.025Z","dependency_job_id":null,"html_url":"https://github.com/zeripath/Octave-ArgumentParser","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zeripath/Octave-ArgumentParser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeripath%2FOctave-ArgumentParser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeripath%2FOctave-ArgumentParser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeripath%2FOctave-ArgumentParser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeripath%2FOctave-ArgumentParser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zeripath","download_url":"https://codeload.github.com/zeripath/Octave-ArgumentParser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeripath%2FOctave-ArgumentParser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29604552,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T05:11:50.834Z","status":"ssl_error","status_checked_at":"2026-02-19T05:11:38.921Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-10-13T10:37:26.519Z","updated_at":"2026-02-19T06:01:52.569Z","avatar_url":"https://github.com/zeripath.png","language":"Matlab","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Argument Parser for Octave/Matlab\n\nThis is a very basic and incomplete implementation of python's argparse and\nArgumentParser in the m-language of octave and matlab.\n\n# How-to use\n    p = ArgumentParser('prog', 'argparse', ...\n      'description', 'A simple argument parser');\n    p.add_argument('integers', 'metavar', 'N', 'nargs','+', ...\n    'help', 'an integer for the accumulator')\n    opts = p.parse(arg_list{:});\n\n\nParameters to ArgumentParser are in Matlab format i.e. (..., 'param', 'value', ...)\n\nThe folowing parameters are available:\n* `prog`: Set the program name for the help documentation. This cannot be easily\nset automatically\n* `description`: Set the program description for the automatically generated help\n\nTo add an Argument to the parser, use the `add_argument` method, the first argument\nof which is the name of the option. Use cell list for multiple names eg.\n`{'-o', '--option'}`. The following parameters are available:\n* `nargs`: The number of arguments expected, either: `'+'`, `'?'`, `'*'` or an integer.\n* `default`: A default value for the argument.\n* `required`: Whether the option is required.\n* `help`: A help string for the option.\n* `metavar`: The variable name to use in the help file.\n* `dest`: The destination name in the options struct returned by `parse`.\n* `validator`: A function taking a potential value for the option and returning `true`\nif acceptable.\n* `action`: A function taking the `OptionSpec` object representing the option with its\nvalue set as the `value` field.\n\nThe parsed values will be placed in the `dest` fields of the struct returned by `parse`.\nValues will be placed in cell lists.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeripath%2Foctave-argumentparser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzeripath%2Foctave-argumentparser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeripath%2Foctave-argumentparser/lists"}