1.5.2 ā€¢ Published 2 years ago

lmfcli v1.5.2

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

LMF Client

Lmf Client is a packager for installing and publishing code bases.

Installation

$ npm install lmfcli --g
$ lmfcli setup

this only has to be done once.

Usage

Installing a codebase

$ lmfcli install test

lmf-cli success šŸ“¦ + test
# or if it fails,
lmf-cli err package not found

Now, in our js file, we can use the codebase.

var codebase = require('./lmf_packages/test');

codebase.methods.test()
codebase.doSomething()
new codebase.someClass()
.setName('hello!');

Publishing a codebase

# to publish a codebase, the user must first initilize a lmf project to the working directory.
$ lmfcli init
šŸ“¦ Name? example-name # Remember, names can not have spaces or special characters other than '-' and '_'.
šŸš€ Version? 1.0.0 # This is the template for a version.
šŸ—ƒļø Description? an example project! # This can be anything. (140 character limit though)
šŸ—‚ļø Codepoint? example.js # this is the file that will be published. Only 1 file can be published, but we are working on a package system.
lmf-cli success āœ… initilized lmf project: example-name 

This should create a file called 'lmf.json' to the working directory.

Publishing

$ lmfcli publish
# information will be shown here.
# the client will make a request to the server, and will check if the package already exists.
# if not, it will publish the package under the user's id.
lmf-cli success šŸ“¦ + example-name
# if it finds a file, it will return an error and will not publish.
lmf-cli err package already exists

Thank you for using lmf-cli!

Ā© Mybutton Corporation, 2022.

Check out other projects!

mb-encrypt - an encryption system to encode JSON objects.

1.2.0

2 years ago

1.4.6

2 years ago

1.2.8

2 years ago

1.4.5

2 years ago

1.2.7

2 years ago

1.4.4

2 years ago

1.2.6

2 years ago

1.4.3

2 years ago

1.2.5

2 years ago

1.4.2

2 years ago

1.2.4

2 years ago

1.4.1

2 years ago

1.2.3

2 years ago

1.4.0

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.3.5

2 years ago

1.1.7

2 years ago

1.5.2

2 years ago

1.3.4

2 years ago

1.1.6

2 years ago

1.5.1

2 years ago

1.3.3

2 years ago

1.1.5

2 years ago

1.5.0

2 years ago

1.3.2

2 years ago

1.3.1

2 years ago

1.3.0

2 years ago

1.4.9

2 years ago

1.4.8

2 years ago

1.4.7

2 years ago

1.2.9

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.18

2 years ago

1.0.17

2 years ago

1.0.16

2 years ago

1.0.15

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

1.0.1-beta

2 years ago

1.0.0-beta

2 years ago