Giter Site home page Giter Site logo

do's People

Contributors

benortiz avatar bentsai avatar guiniol avatar lastobelus avatar led avatar silent-e avatar tmjbradley avatar ttscoff avatar vcavallo avatar yasuhito avatar zug-zug avatar

Stargazers

 avatar

Watchers

 avatar

do's Issues

Do::Config

  • Config#defaults
  • Config#home_config
  • Config#local_config
  • Read the three sources of truth and reconcile them
  • Sort between read-only, write, write with defaults
  • Use user-supplied config file before defaults if the file exists

Storage::Local

  • Decouple from initializing the do file
  • Decouple from only reading do files (it can then be reused to read/write config files)

Do::Cmd

  • Taskpaper <-> Storage integration

Update README

Describe new functionality and remove functions we won't have any more

Initialize do_file in Do::Cmd

  # TODO: Move to Do::Cmd
  def setup_with_config
    self.doing_file = File.expand_path(config['doing_file'])
    create(self.doing_file) unless File.exist?(self.doing_file)
    read
  end
  def create(filename)
    unless File.size?(filename)
      File.open(filename,'w+') do |f|
        f.puts config.current_section + ":"
      end
    end
  end

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.