{"id":16328499,"url":"https://github.com/final-form/rff-cli-example","last_synced_at":"2025-10-25T21:30:18.499Z","repository":{"id":65490007,"uuid":"184739365","full_name":"final-form/rff-cli-example","owner":"final-form","description":"An example of how to use 🏁 React Final Form in a CLI application with Ink","archived":false,"fork":false,"pushed_at":"2019-05-03T10:47:11.000Z","size":4244,"stargazers_count":77,"open_issues_count":2,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-30T00:54:41.273Z","etag":null,"topics":["cli","command-line","command-line-tool","final-form","forms","ink","javascript","node","pastel","react-final-form"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/final-form.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}},"created_at":"2019-05-03T10:45:22.000Z","updated_at":"2024-07-24T12:05:41.000Z","dependencies_parsed_at":"2023-01-26T00:46:35.850Z","dependency_job_id":null,"html_url":"https://github.com/final-form/rff-cli-example","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/final-form%2Frff-cli-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/final-form%2Frff-cli-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/final-form%2Frff-cli-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/final-form%2Frff-cli-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/final-form","download_url":"https://codeload.github.com/final-form/rff-cli-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238207673,"owners_count":19434095,"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","command-line","command-line-tool","final-form","forms","ink","javascript","node","pastel","react-final-form"],"created_at":"2024-10-10T23:14:21.828Z","updated_at":"2025-10-25T21:30:17.481Z","avatar_url":"https://github.com/final-form.png","language":"JavaScript","readme":"# rff-cli-example\n\nThis package is an example of how [🏁 React Final Form](https://github.com/final-form/react-final-form#-react-final-form) can be used to maintain form data in a CLI app using [Ink](https://github.com/vadimdemedes/ink) and [Pastel](https://github.com/vadimdemedes/pastel), by [@vadimdemedes](https://github.com/vadimdemedes).\n\nThe app simulates a project scaffolding CLI app, like what happens when you run `npm init`.\n\n## Features\n\n- Text inputs\n- Select inputs\n- Multi-Select inputs\n- Sync validation – Some of the fields are required, and others must conform to a certain structure.\n- Async validation – it will check to see if the package name you have selected is available on NPM.\n\nThe main purpose is to demonstrate a proof of concept, but you are welcome to copy and reuse the `TextInput`, `SelectInput`, and `MultiSelect` input components as you wish.\n\n## Run it\n\n```bash\n$ npx rff-cli-example\n```\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/final-form/rff-cli-example/master/demo.gif\"/\u003e\u003c/p\u003e\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffinal-form%2Frff-cli-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffinal-form%2Frff-cli-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffinal-form%2Frff-cli-example/lists"}