Files
cli/src/commands/help.js
Evo 7535a5e026 feat: Added version command & created readme (#25)
* feat: Created help command

* fix: Fixed a typo in version command

* feat: Added version command to index.js & changed export type to default

* chore: Updated version command

* chore: Updated help command

* chore: Updated init command

* feat: Added version shortcut command

* docs: Created README

* chore: Added what @jacobees wanted

* docs: Changed the README description

* docs: Updated README

* docs: Fix what Evo wanted

* revert: Reverted what Evo wanted

* revert: Reverting default export

* revert: Reverting the default export

* revert: Reverted the default export

* feat: Version is now come from package.json

* fix: Fixed experimental error

* chore: Updated what evo wanted

* refractor: Changed v to flag

* feat(v): use flags

* docs: some stuff

Co-authored-by: xxDeveloper <77380166+Murtatrxx@users.noreply.github.com>
2022-05-14 12:24:10 +05:30

7 lines
241 B
JavaScript

import { version } from '../utilities/version.js';
export function help({ flags }) {
if (flags?.includes('v') || flags?.includes('version')) return version();
console.log('This is the Sern CLI help section.\n\n' + 'Fill me up later!');
}