Code Monkey home page Code Monkey logo

kotlin-ls's Introduction

kotlin-ls

University practical task. Util for listing files from specified directory. Just like normal ls, but for minimalists and limited with just four arguments ๐Ÿค

Usage

Command Line: ls [-l] [-h] [-r] [-o output.file] directory_or_file

When executed without any arguments โ€” list files' names in current directory

Arguments

Argument Description
-l, --long listing files in long format (with permissions for current user in bitmask, size in bytes and last moddified time)
-h when with -l, print human readable sizes (e.g., 1K 234M 2G) and permissions in rwx
-r, --recursive list subdirectories recursively
-o, --output redirect output to specified file
--help print help message

Prerequisites

I used in this project Commons CLI library to parsing arguments.

Library was installed by adding this line to the build.gradle scipt in dependences {}

For tests I used junit 5.5.0-M1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.