{"id":15002568,"url":"https://github.com/zhamppx97/minimalcli","last_synced_at":"2026-03-16T13:09:08.169Z","repository":{"id":244448761,"uuid":"815256832","full_name":"zhamppx97/MinimalCLI","owner":"zhamppx97","description":"MinimalCLI - This tool generates C# class files from database tables for Microsoft SQL Server, MySQL, Oracle, and PostgreSQL.","archived":false,"fork":false,"pushed_at":"2024-06-14T18:42:01.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-18T12:16:14.450Z","etag":null,"topics":["class","cli","dotnet","minimal","mssql","mysql","oracle","postgresql","table","table2cs"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zhamppx97.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.txt","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},"funding":{"github":"zhamppx97","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"lfx_crowdfunding":null,"polar":null,"buy_me_a_coffee":null,"custom":null}},"created_at":"2024-06-14T17:39:07.000Z","updated_at":"2024-06-14T18:42:04.000Z","dependencies_parsed_at":"2024-06-14T19:47:34.207Z","dependency_job_id":"09376156-c478-4c7e-890a-3fb936d0c122","html_url":"https://github.com/zhamppx97/MinimalCLI","commit_stats":null,"previous_names":["zhamppx97/minimalcli"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhamppx97%2FMinimalCLI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhamppx97%2FMinimalCLI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhamppx97%2FMinimalCLI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhamppx97%2FMinimalCLI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zhamppx97","download_url":"https://codeload.github.com/zhamppx97/MinimalCLI/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243146852,"owners_count":20243740,"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":["class","cli","dotnet","minimal","mssql","mysql","oracle","postgresql","table","table2cs"],"created_at":"2024-09-24T18:51:10.633Z","updated_at":"2025-12-24T13:53:30.665Z","avatar_url":"https://github.com/zhamppx97.png","language":"C#","funding_links":["https://github.com/sponsors/zhamppx97"],"categories":[],"sub_categories":[],"readme":"# MinimalCLI\n\nThis tool generates C# class files from database tables for Microsoft SQL Server, MySQL, Oracle, and PostgreSQL.\n\n## Functionality\n* Connects to the specified database.\n* Retrieves table schemas.\n* Generates C# class files with properties for each column.\n* Includes column descriptions if available.\n\n## Usage\n```bash\nMinimalCLI:~$ dotnet pack\n\nSuccessfully created package 'your-path\\MinimalCLI\\nupkg\\MinimalCLI.1.0.0.nupkg'.\n```\n\n```bash\nMinimalCLI:~$ dotnet tool install --global --add-source ./nupkg MinimalCLI\n\nYou can invoke the tool using the following command: table2cs\nTool 'minimalcli' (Version '1.0.0') was successfully installed.\n```\n\n```bash\nMinimalCLI:~$ table2cs --help\n\nUsage: SqlTableToClass \u003cdatabase_type\u003e \u003cconnection_string\u003e [--output \u003cdirectory\u003e]\n\nSupported database types:\n  mssql       Microsoft SQL Server\n  mysql       MySQL\n  oracle      Oracle\n  postgresql  PostgreSQL\n\nExample:\n  SqlTableToClass mssql \"Server=yourServerAddress;Database=yourDataBase;User Id=yourUsername;Password=yourPassword;TrustServerCertificate=True\" --output \"C:\\OutputDirectory\"\n```\n\n## Example\n\nmssql\n```bash\nMinimalCLI:~$ table2cs mssql \"Server=yourServerAddress;Database=yourDataBase;User Id=yourUsername;Password=yourPassword;TrustServerCertificate=True\" --output \"C:\\OutputDirectory\"\n```\nmysql\n```bash\nMinimalCLI:~$ table2cs mysql \"Server=myServerAddress;Database=myDataBase;User=myUsername;Password=myPassword;\" --output \"C:\\OutputDirectory\"\n```\noracle\n```bash\nMinimalCLI:~$ table2cs oracle \"Data Source=myOracleDB;User Id=myUsername;Password=myPassword;\" --output \"C:\\OutputDirectory\"\n```\npostgresql\n```bash\nMinimalCLI:~$ table2cs postgresql \"Host=myServerAddress;Database=myDataBase;Username=myUsername;Password=myPassword;\" --output \"C:\\OutputDirectory\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhamppx97%2Fminimalcli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzhamppx97%2Fminimalcli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhamppx97%2Fminimalcli/lists"}