You are not logged in.

#1 2010-08-14 16:57:16

alexanderte
Member
From: Norway
Registered: 2010-01-20
Posts: 11
Website

flo – A command line app for organizing events, to-dos, and deadlines

Example
$ flo watch movie,d020
Ids are updated.
$ flo eat lunch,d11100-d11130
Ids are updated.
$ flo
   0  08-16 20:00  d0  watch movie
   1  08-17 11:00  d1  eat lunch
            11:30  d1
Usage
flo [-a] [-c id] [-f from] [-r id] [-t to] [-w what] [what[,from][-to]]
Options
    -a         all items
    -c id      change item
    -f from    from date
    -r id      remove item
    -t to      to date
    -w what

When changing an item, setting -f or -t to r removes the field.
Date formats
YYYYMMDDhhmm, MMDDhhmm, DDhhmm, DDhh, and DD are the valid date
formats. Replace DD with dn to set the date n days from today's date.

If the year or the month isn't specified, the current year and month is used.
For formats without a month, if the date specified is before today's date, the
month is set to the next month.

The value for hours and minutes is set to 00 if no other value is specified.

flo runs fast since it's written in C, and the goal is to keep it as simple as possible. It uses between 1–2 milliseconds to start when it's cached by the OS.

The package is named flo-git in AUR. The development happens on GitHub.

Last edited by alexanderte (2010-08-22 10:50:05)

Offline

#2 2010-08-15 15:42:10

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: flo – A command line app for organizing events, to-dos, and deadlines

alexanderte wrote:
Installation
git clone git://github.com/alexanderte/flo.git
cd flo
make
cp flo /usr/local/bin/

# optional
echo "alias f='flo'" >> ~/.bashrc

You should always use Pacman to install packages on Arch. Here's a PKGBUILD:

# Contributor: Xyne
pkgname=flo-git
pkgver=1
pkgrel=1
pkgdesc="A command line app for organizing events, to-dos, and deadlines."
arch=('i686' 'x86_64')
url="http://github.com/alexanderte/flo"
license=('ISC')
makedepends=('git')
provides=('flo')
conflicts=('flo')

_gitroot="git://github.com/alexanderte/flo.git"
_gitname="flo"

build() {
  cd "$srcdir"

  if [ -d "$_gitname" ] ; then
    cd "$_gitname" && git pull origin
  else
    git clone "$_gitroot" "$_gitname"
    cd "$_gitname"
  fi

  make
  install -Dm755 flo "${pkgdir}/usr/bin/flo"
}

You can learn more about PKGBUILDs in the wiki: http://wiki.archlinux.org/index.php/PKGBUILD


I recommend that you upload it to the AUR as well, with any changes that you deem necessary. Don't forget to add yourself as the maintainer at the top of the file.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#3 2010-08-15 18:41:04

alexanderte
Member
From: Norway
Registered: 2010-01-20
Posts: 11
Website

Re: flo – A command line app for organizing events, to-dos, and deadlines

Thank you, Xyne!

I will update the installation description in my original post, and attemt to maintain the package. yikes

Offline

Board footer

Powered by FluxBB