All Projects → liderman → leveldb-cli

liderman / leveldb-cli

Licence: MIT license
CLI for LevelDB

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to leveldb-cli

Reverse Engineering Tutorials
Some Reverse Engineering Tutorials for Beginners
Stars: ✭ 217 (+152.33%)
Mutual labels:  analysis
Swift Code Metrics
Code metric analyzer for Swift projects.
Stars: ✭ 244 (+183.72%)
Mutual labels:  analysis
Binnavi
BinNavi is a binary analysis IDE that allows to inspect, navigate, edit and annotate control flow graphs and call graphs of disassembled code.
Stars: ✭ 2,781 (+3133.72%)
Mutual labels:  analysis
Querly
Query Method Calls from Ruby Programs
Stars: ✭ 226 (+162.79%)
Mutual labels:  analysis
Fracker
PHP function tracker
Stars: ✭ 234 (+172.09%)
Mutual labels:  analysis
Dg
[LLVM Static Slicer] Various program analyses, construction of dependence graphs and program slicing of LLVM bitcode.
Stars: ✭ 242 (+181.4%)
Mutual labels:  analysis
Seriloganalyzer
Roslyn-based analysis for code using the Serilog logging library. Checks for common mistakes and usage problems.
Stars: ✭ 214 (+148.84%)
Mutual labels:  analysis
Sublime-uroboroSQL-formatter
Beautiful SQL Formatter for Sublime Text 3
Stars: ✭ 25 (-70.93%)
Mutual labels:  formatting
Htmlhint
⚙️ The static code analysis tool you need for your HTML
Stars: ✭ 2,723 (+3066.28%)
Mutual labels:  analysis
Awesome Ci
Awesome Continuous Integration - Lot's of tools for git, file and static source code analysis.
Stars: ✭ 254 (+195.35%)
Mutual labels:  analysis
Warp10 Platform
The Most Advanced Time Series Platform
Stars: ✭ 227 (+163.95%)
Mutual labels:  analysis
Elfparser
Cross Platform ELF analysis
Stars: ✭ 228 (+165.12%)
Mutual labels:  analysis
Email Header Analyzer
E-Mail Header Analyzer
Stars: ✭ 247 (+187.21%)
Mutual labels:  analysis
Vermin
Concurrently detect the minimum Python versions needed to run code
Stars: ✭ 218 (+153.49%)
Mutual labels:  analysis
rhino
Agile Sandbox for analyzing Windows, Linux and macOS malware and execution behaviors
Stars: ✭ 49 (-43.02%)
Mutual labels:  analysis
Awkward 0.x
Manipulate arrays of complex data structures as easily as Numpy.
Stars: ✭ 216 (+151.16%)
Mutual labels:  analysis
Hiper
🚀 A statistical analysis tool for performance testing
Stars: ✭ 2,667 (+3001.16%)
Mutual labels:  analysis
codacy-scalameta
Codacy tool for Scalameta
Stars: ✭ 35 (-59.3%)
Mutual labels:  analysis
spinmob
Rapid and flexible acquisition, analysis, fitting, and plotting in Python. Designed for scientific laboratories.
Stars: ✭ 34 (-60.47%)
Mutual labels:  analysis
Tweets analyzer
Tweets metadata scraper & activity analyzer
Stars: ✭ 2,755 (+3103.49%)
Mutual labels:  analysis

LevelDB-CLI: a simple utility for debugging LevelDB

Command-line utility for working with levelDB. This utility is useful for debugging applications using the database LevelDB

Demo GIF

Installation and build

go get github.com/liderman/leveldb-cli
go install

Requirements

  • go1.5 or newer.

Usage

# ./leveldb-cli
» open testdb
Database not exist! Create new database.
Success
testdb» set key100 value100
Success
testdb» set key200 value200
Success
testdb» set key300 value300
Success
testdb» set "key \"123" value
Success
testdb» show prefix key
Key	      | Value
key100	  | value100
key200	  | value200
key300	  | value300
key \"123 | value

testdb» show range key2 key3
Key	| Value
key200	| value200

testdb» close
Success
» exit

Commands

open

open DATABASE_NAME

Opens database. If the database does not exist, it is created. You can use this method to create a new database.

  • DATABASE_NAME - The database name or path

close

close

It closes a previously opened database.

set

set KEY VALUE

Set the value of for a key.

  • KEY - The key
  • VALUE - The value

delete

delete KEY

Delete the record by key.

  • KEY - The key

get

get KEY [FORMAT]

Display value by key.

  • KEY - The key
  • FORMAT - Data Display Format (Optional)

export

export KEY FILENAME

Write value by key to file with specified filename or path.

  • KEY - The key
  • FILENAME - File name of the output file

show

show prefix KEY_PREFIX [FORMAT]

Displays all values the keys that begin with the prefix.

  • KEY_PREFIX - The prefix to list of keys
  • FORMAT - Data Display Format (Optional)

show range START LIMIT [FORMAT]

Displays all values, the keys of which are in the range between "START" and "LIMIT".

  • START - The key or key prefix indicating the beginning of the range
  • LIMIT - The key or key prefix indicating the end of the range
  • FORMAT - Data Display Format (Optional)

show limit LIMIT [FORMAT]

Displays all content of the database limited by "LIMIT".

  • LIMIT - Limiting the number of records displayed
  • FORMAT - Data Display Format (Optional)

The list of formats available to display

  • raw - Raw data without processing (default)
  • bson - Attempts to convert the data to be displayed from bson to json
  • geohash - Attempts to convert the data format of the geohash in the coordinates of the center (lat, lng)
  • int64 - Attempts to display the data as an integer 64-bit number
  • float64 - Attempts to display the data as a 64-bit number c with a floating point

help

help

Displays short usage software

version

version

Displays the current version of software and operating systems on which it runs

LICENSE

Project distributes with standard MIT license

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].