lazy

command module
v0.0.0-...-9edf713 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

README

Lazymaker

Simple CLI tool to easily create/manipulate programming files.

Requirements

Go 1.17+

Setup

Add $GOPATH to $PATH, if you haven't already:

 export PATH=$PATH:$(go env GOPATH)/bin

Then simply run

go get github.com/grbenjamin/lazy

Use

Available commands

You can use three different commands:

  • lazy create: creates a file.
  • lazy compile: compiles a file. (For now only work on C, C++ and Java files)
  • lazy run: runs a file.

Run lazy help for help of any command.

Examples:

  • lazy create -t myfile.rs will create a directory called rs_projects along with a file myfile.rs under ~/Documents/, and open it with the terminal.
  • lazy compile program.c otherfile.cpp will search for each file under the ~/Documents/ directory and all subdirectories and compile them.
  • lazy run foo.c will search for the file under ~/Documents/ and all subdirectories and run it. If the file is not compiled yet, it will do so and then run it.

Documentation

Overview

Copyright © 2021 Benjamín García Roqués <benjamingarciaroques@gmail.com>

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL