# metametameta
Package manager for gnuCOBOL. Very alpha right now. Not all commands work.
## Installation
```bash
pipx install mainframer
```
## Usage
Installs various versions of gnuCOBOL to `~/.cobol/`
```bash
mainframer cobol 3.2
mainframer cobol 3.2.2
mainframer cobol 3.2-b
```
Now create a `mainframer.toml` in your project root. This is a monorepo, so you can have multiple `mainframer.toml`
files with at minimum the gnucobol version.
```toml
[project]
gnucobol = "3.2"
[compiler]
# modify compiler options here.
[packages]
"name" = { version="1.2.3", url="github.com/matthewdeanmartin/mainframer" }
```
Activate a cobol. This adds the necessary environment variables.
```bash
mainframer shell
```
Build a cobol project, assuming a particular layout.
```bash
mainframer build compile_objects
mainframer build build_binary
mainframer build test
mainframer build run
```
Help for CLI
```text
usage: mainframer [-h] [-V] {cobol,shell,install,build,clean,test,run} ...
Manage GnuCobol.
positional arguments:
options:
-h, --help show this help message and exit
-V, --version Show program's version number and exit.
```
## Motivation and Goals
Trying to make a package manager for COBOL.
## Prior Art
- Build script inspired by [CobolCraft](https://github.com/meyfa/CobolCraft)
Raw data
{
"_id": null,
"home_page": "https://github.com/matthewdeanmartin/mainframer",
"name": "mainframer",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "cobol, gnucobol",
"author": "Matthew Martin",
"author_email": "matthewdeanmartin@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/e9/ed/33023eef938f71dabc5f4f3e6479e60eecbb5afd44651a80557feb2ddcdd/mainframer-0.2.0.tar.gz",
"platform": null,
"description": "# metametameta\n\nPackage manager for gnuCOBOL. Very alpha right now. Not all commands work.\n\n## Installation\n\n```bash\npipx install mainframer\n```\n\n## Usage\n\nInstalls various versions of gnuCOBOL to `~/.cobol/`\n```bash\nmainframer cobol 3.2\nmainframer cobol 3.2.2\nmainframer cobol 3.2-b\n```\n\nNow create a `mainframer.toml` in your project root. This is a monorepo, so you can have multiple `mainframer.toml` \nfiles with at minimum the gnucobol version.\n\n```toml\n[project]\ngnucobol = \"3.2\"\n\n[compiler]\n# modify compiler options here.\n\n[packages]\n\"name\" = { version=\"1.2.3\", url=\"github.com/matthewdeanmartin/mainframer\" }\n```\n\nActivate a cobol. This adds the necessary environment variables.\n```bash\nmainframer shell\n```\n\nBuild a cobol project, assuming a particular layout.\n```bash\nmainframer build compile_objects\nmainframer build build_binary\nmainframer build test\nmainframer build run\n```\n\nHelp for CLI\n```text\nusage: mainframer [-h] [-V] {cobol,shell,install,build,clean,test,run} ...\nManage GnuCobol.\npositional arguments:\noptions:\n -h, --help show this help message and exit\n -V, --version Show program's version number and exit.\n```\n\n## Motivation and Goals\n\nTrying to make a package manager for COBOL.\n\n## Prior Art\n- Build script inspired by [CobolCraft](https://github.com/meyfa/CobolCraft)\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "GnuCOBOL environment and package manager.",
"version": "0.2.0",
"project_urls": {
"Bug Tracker": "https://github.com/matthewdeanmartin/mainframer/issues",
"Change Log": "https://github.com/matthewdeanmartin/mainframer/blob/main/CHANGELOG.md",
"Documentation": "https://matthewdeanmartin.github.io/mainframer/mainframer/index.html",
"Homepage": "https://github.com/matthewdeanmartin/mainframer",
"Repository": "https://github.com/matthewdeanmartin/mainframer"
},
"split_keywords": [
"cobol",
" gnucobol"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b0e63cc7e3e4d31a33b76b72b3524eb814561d120c7c36105703a3ded09e8f7f",
"md5": "599ec87e6a1fa82185ee78136c6aa00a",
"sha256": "773d082c83575c7bc0a6913e55c57974c6c6c6b7d2d92c461803ca1481e750e2"
},
"downloads": -1,
"filename": "mainframer-0.2.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "599ec87e6a1fa82185ee78136c6aa00a",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 11133,
"upload_time": "2024-12-27T17:35:22",
"upload_time_iso_8601": "2024-12-27T17:35:22.455738Z",
"url": "https://files.pythonhosted.org/packages/b0/e6/3cc7e3e4d31a33b76b72b3524eb814561d120c7c36105703a3ded09e8f7f/mainframer-0.2.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "e9ed33023eef938f71dabc5f4f3e6479e60eecbb5afd44651a80557feb2ddcdd",
"md5": "18a4293ff0a275eead16521b9c0b4767",
"sha256": "52114b42435544d84a75e8d895966c2fdfb5e6f997ebda5ef42c817c58677b36"
},
"downloads": -1,
"filename": "mainframer-0.2.0.tar.gz",
"has_sig": false,
"md5_digest": "18a4293ff0a275eead16521b9c0b4767",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 10709,
"upload_time": "2024-12-27T17:35:25",
"upload_time_iso_8601": "2024-12-27T17:35:25.214051Z",
"url": "https://files.pythonhosted.org/packages/e9/ed/33023eef938f71dabc5f4f3e6479e60eecbb5afd44651a80557feb2ddcdd/mainframer-0.2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-27 17:35:25",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "matthewdeanmartin",
"github_project": "mainframer",
"github_not_found": true,
"lcname": "mainframer"
}