flog init
Initialize the current project, then lock and install it.
Usage#
flog init
Examples#
mkdir my-project
cd my-project
flog init
Behaviour#
If package.json is absent, create it with the current directory basename as
name and "type": "module". Invalid npm names fail rather than being rewritten.
An existing manifest remains byte-for-byte unchanged.
Init then runs normal lock and install operations. If either fails, generated
files remain so the project can be repaired and retried.
Run flog help init for complete current help.