rsm-hcd / AndcultureCode.Cli

and-cli command-line tool to manage the development of software applications
https://andculture.com
Apache License 2.0
14 stars 15 forks source link

Break up constants file into grouped/related files #157

Open brandongregoryscott opened 3 years ago

brandongregoryscott commented 3 years ago

The constants.ts file has grown quite a bit, and can probably be broken up into separate files so specific values are easier to locate. These could be promoted from the modules directory to a constants folder. Some ideas might be:

output-constants.ts - [ERROR], [WARN], [and-cli], (alias)

path-constants.ts: bin, obj, node_modules, dist

file-constants.ts: package.json, and-cli.js

error-constants.ts: ERROR_READING_CSPROJ_FILES, ERROR_INVALID_VERSION_STRING, UNKNOWN_COMMAND

There might be some leftover that don't obviously fit into a grouping, so I'm open to other grouping suggestions or even leaving a general constants.ts file for the misc. ones