{"id":20187289,"url":"https://github.com/keithdhedger/cursesdialogs","last_synced_at":"2025-03-03T07:11:03.653Z","repository":{"id":156325250,"uuid":"193248862","full_name":"KeithDHedger/CursesDialogs","owner":"KeithDHedger","description":"Some simple utility dialogs using CursesToolKit","archived":false,"fork":false,"pushed_at":"2024-01-31T12:00:37.000Z","size":635,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-13T18:21:46.757Z","etag":null,"topics":["cli","cpp","curses","cursestoolkit","dialog","linux","utility"],"latest_commit_sha":null,"homepage":null,"language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KeithDHedger.png","metadata":{"files":{"readme":"README","changelog":"ChangeLog","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null}},"created_at":"2019-06-22T15:24:54.000Z","updated_at":"2024-10-03T14:38:56.000Z","dependencies_parsed_at":"2024-01-31T13:24:56.076Z","dependency_job_id":"38dda417-504a-44ad-a668-92f43add008e","html_url":"https://github.com/KeithDHedger/CursesDialogs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KeithDHedger%2FCursesDialogs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KeithDHedger%2FCursesDialogs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KeithDHedger%2FCursesDialogs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KeithDHedger%2FCursesDialogs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KeithDHedger","download_url":"https://codeload.github.com/KeithDHedger/CursesDialogs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241622615,"owners_count":19992504,"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":["cli","cpp","curses","cursestoolkit","dialog","linux","utility"],"created_at":"2024-11-14T03:22:37.723Z","updated_at":"2025-03-03T07:11:03.631Z","avatar_url":"https://github.com/KeithDHedger.png","language":"Makefile","readme":"Convenience wrappers for Curses toolkit library.\n\nSelect a file:\u003cbr\u003e\nctkopenfile\u003cbr\u003e\nUsage: ctkopenfile [OPTION]\u003cbr\u003e\n -w, --window-name\tWindow Name\u003cbr\u003e\n -s, --start-folder\tStart Folder\u003cbr\u003e\n -v, --version\t\tVersion\u003cbr\u003e\n -h, -?, --help\t\tHelp\u003cbr\u003e\n\u003cbr\u003e\nExample:\u003cbr\u003e\nTo get the results of the dialog into a bash varable Use:\u003cbr\u003e\n{ result=$(ctkopenfile -w MyWindow -s /etc 2\u003e\u00261 \u003e\u00263 3\u003e\u0026-); } 3\u003e\u00261\u003cbr\u003e\necho $result\u003cbr\u003e\n![Alt text](screenshots/openfile.png?raw=true \"ctkopenfile\")\u003cbr\u003e\n\n\nSelect a folder:\u003cbr\u003e\nctkopenfolder\u003cbr\u003e\nUsage: ctkopenfolder [OPTION]\u003cbr\u003e\n -w, --window-name\tWindow Name\u003cbr\u003e\n -s, --start-folder\tStart Folder\u003cbr\u003e\n -v, --version\t\tVersion\u003cbr\u003e\n -h, -?, --help\t\tHelp\u003cbr\u003e\n\u003cbr\u003e\nExample:\u003cbr\u003e\nTo get the results of the dialog into a bash varable Use:\u003cbr\u003e\n{ result=$(ctkopenfolder -w MyWindow -s /etc 2\u003e\u00261 \u003e\u00263 3\u003e\u0026-); } 3\u003e\u00261\u003cbr\u003e\necho $result\u003cbr\u003e\n![Alt text](screenshots/openfolder.png?raw=true \"ctkopenfolder\")\u003cbr\u003e\n\n\nSave a file:\u003cbr\u003e\nctksavefile\u003cbr\u003e\nUsage: ctksavefile [OPTION]\u003cbr\u003e\n -w, --window-name\tWindow Name\u003cbr\u003e\n -s, --start-folder\tStart Folder\u003cbr\u003e\n -n, --default-name\tDefault file name\u003cbr\u003e\n -v, --version\t\tVersion\u003cbr\u003e\n -h, -?, --help\t\tHelp\u003cbr\u003e\n\u003cbr\u003e\nExample:\u003cbr\u003e\nTo get the results of the dialog into a bash varable Use:\u003cbr\u003e\n{ result=$(ctksavefile -w MyWindow -s /etc -n SaveFileName 2\u003e\u00261 \u003e\u00263 3\u003e\u0026-); } 3\u003e\u00261\u003cbr\u003e\necho $result\u003cbr\u003e\n![Alt text](screenshots/savefile.png?raw=true \"ctksavefile\")\u003cbr\u003e\n\n\nGet input:\u003cbr\u003e\nctkinput\u003cbr\u003e\nUsage: ctkinput [OPTION]\u003cbr\u003e\n -w, --window-name\tWindow Name\u003cbr\u003e\n -b, --body\t\tBody text\u003cbr\u003e\n -t, --title\t\tDialog title\u003cbr\u003e\n -i, --input\t\tDefault input\u003cbr\u003e\n -c, --cancel\t\tShow cancel\u003cbr\u003e\n -v, --version\t\tVersion\u003cbr\u003e\n -h, -?, --help\t\tHelp\u003cbr\u003e\n\u003cbr\u003e\nExample:\u003cbr\u003e\nTo get the results of the dialog into a bash varable Use:\u003cbr\u003e\n{ result=$(ctkinput -w MyWindow -b 'Say somthing?' -t 'Input ...' -i 'Some input ...' -c  2\u003e\u00261 \u003e\u00263 3\u003e\u0026-); } 3\u003e\u00261\u003cbr\u003e\necho $result\u003cbr\u003e\nThe return code from the app also reflects the button seelected like so:\u003cbr\u003e\nctkinput -w MyWindow -b 'Say somthing?' -t 'Input ...' -i 'Some input ...' -c 2\u003e/dev/null;echo \"Button pressed $?\"\u003cbr\u003e\n![Alt text](screenshots/input.png?raw=true \"ctkinput\")\u003cbr\u003e\n\n\nSimple query:\u003cbr\u003e\nctkquery\u003cbr\u003e\nUsage: ctkquery [OPTION]\u003cbr\u003e\n -w, --window-name\tWindow Name\u003cbr\u003e\n -q, --query\t\tQuery text\u003cbr\u003e\n -t, --title\t\tDialog title\u003cbr\u003e\n -b, --buttons\t\tButtons\u003cbr\u003e\n -v, --version\t\tVersion\u003cbr\u003e\n -h, -?, --help\t\tHelp\u003cbr\u003e\n \u003cbr\u003e\nExample:\u003cbr\u003e\nThe return code from the app reflects the button selected like so:\u003cbr\u003e\nctkquery -w MyWindow -q 'Do What?' -t 'Question?' -b 7 2\u003e/dev/null;echo \"Button pressed $?\"\u003cbr\u003e\n![Alt text](screenshots/query.png?raw=true \"ctkquery\")\u003cbr\u003e\n\n\u003cbr\u003e\u003cbr\u003e\nBUGS etc.\u003cbr\u003e\nkdhedger68713@gmail.com\u003cbr\u003e\n\u003cbr\u003e\u003cbr\u003e\nPlease donate\nIf you have a PayPal account you can donate any amount you like by logging into your account and click the 'Send Money' tab, enter my email address and then send it\nThank you for helping to support Free software.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeithdhedger%2Fcursesdialogs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkeithdhedger%2Fcursesdialogs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeithdhedger%2Fcursesdialogs/lists"}