Git Product home page Git Product logo

commons_cli_ex's People

Contributors

inkimar avatar

Watchers

 avatar  avatar

Forkers

icingink

commons_cli_ex's Issues

make target all should 'do everything'

it should be sufficient to only run 'make' to be able to test the project with the test-database.
target 'all' should do the following.

  1. download the example database from Internet Archive ( IA) if it does not exist
  2. clean out src-code and output-files
  3. build the executable jar
    4 runt the project and generate csv-files

Output should go to stdout when options to list tables or output the DDL (--list OR --schema)

The mdbtools output results to stdout.

It would be nice if the tool would print space separated table names (unless they need quoting?) to stdout when called with the option --list

It would be nice if the tool would output the schema DDL (sqlite / ANSI sql) to std when called with option --schema.

Currently there are some "java.io.IOException: Permission denied" messages which seems related to accessing the filesystem which shouldn't be needed for those options ie --schema and --list.

Wish: to be able to pull and run the tool using docker

An Alpine based image with the acess2csv tool available on Docker hub.

Perhaps this distribution could be based on openjdk:8-jre-alpine from Docker Hub - it would be nice, portable and a simple install.

It could support usage when mobilizing data from old Access databases to other formats via CSV exports in the following way:

# download the tool
docker pull inkimar/access2csv

# running it without options will display available options and inform about usage
docker run --rm inkimar/access2csv 

# example usage running a conversion of an access db into CSV files which are stored in the "output" destination directory
docker run --rm inkimar/access2csv -f my_access_db.mdb -d output

Default settings used for CSV file output option (-d)

When running the tool with the "-d" option, generated files should be similar to files generated from the "mdb-export" tool:

  • files start with a first row with the column field names (if column names contain a comma or a tab ie the field separator character it would need to be quoted or even possibly escaped?)

  • a row in a CSV file output should encode missing values using empty values "" instead of the string "null"

  • a row in a CSV file should by default quote text fields using " as the quotation character

build releases

build releases.
Those releases can be used instead of building the whole project.

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.