Giter Site home page Giter Site logo

guides-cleaner's Introduction

Cleans un-used guides assets leftover from splitting books

Usage Overview

guides-cleaner clean-content <path_to_the_project>

Inline installer

sh -c "$(curl -fsSL https://raw.githubusercontent.com/codio/guides-cleaner/master/installer.sh)"

How to Use Guides Cleaner in Codio

  1. Download the linux binary (content-checker-linux-amd64.tgz) under Releases
  2. Drag-and-drop guides-cleaner-linux-amd64.tgz into the Codio assignment or project filetree
  3. In the Codio terminal, extract the binary:
    tar zxf guides-cleaner-linux-amd64.tgz
    
  4. In the Codio terminal, run the code:
    ./guides-cleaner clean-content
    

How to Merge assingments in Codio

  1. Download the linux binary (guides-cleaner-linux-amd64.tgz) under Releases

  2. Drag-and-drop guides-cleaner-linux-amd64.tgz into the Codio assignment or project filetree

  3. In the Codio terminal, extract the binary:

    tar zxf guides-cleaner-linux-amd64.tgz
    
  4. Clone the two assingments you want to merge into Codio

  5. In the Codio terminal, run the code:

    ./guides-cleaner merge <destAssignmentPath> <mergeAssignmentPath>
    

    Note: The second assignment path (merge) is appended to the end of the first assignment path (dest) For example:

    ./guides-cleaner merge cs-intro-python-loops/ cs-intro-python-conditionals/
    

    Conditionals would be appended after the loops content

    If you want to append content into the existing content (in .guides), set the <destAssignmentPath> to ./. Make sure your <mergeAssignmentPath> ends with a / or it will overwrite the content.

    To move content into .guides (overwriting any existing content in .guides), set the <destAssignmentPath> to ..

guides-cleaner's People

Contributors

edeitrick avatar sergei-bronnikov avatar ksimuk avatar destitutus avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar Igor Yashtykov avatar Konstantin avatar  avatar Andrey Nikitin avatar Vasiliy Levykin avatar  avatar Stepan Shishkin avatar  avatar

Forkers

edeitrick

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.