kpick

command module
v0.0.0-...-1d6347e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 10, 2020 License: MIT Imports: 10 Imported by: 0

README

Kpick

Go Report Card

날려 만들었으나 점점 개선하고 있는 한글 추출기

Getting started

Prerequisites
Install and run
  • Install
$ go get github.com/loganstone/kpick
  • Run
$ kpick -d /some-directory -f js

Usage of kpick
$ kpick -h
Usage of kpick:
  -cpuprofile file
        Write cpu profile to file.
  -d string
        Directory to search. (default ".")
  -e    Make output error only.
  -f string
        File extension to scan. (default "*")
  -i    Interactive scanning.
  -ignore string
        Regex for line to ignore when scanning file.
  -memprofile file
        Write memory profile to file.
  -s string
        Directories to skip from search.(delimiter ',') (default ".git,tmp")
  -v    Make some output more verbose.

Running Tests

$ go test -v -count=1 ./...  # no cached

Profiling example

$ kpick -d ../some-directory -f js -cpuprofile cpu.prof -memprofile mem.prof -ignore //
$ go tool pprof -http 0.0.0.0:9000 cpu.prof
$ go tool pprof -http 0.0.0.0:9000 mem.prof

Key Features

  • 지정한 디렉터리에서 지정한 소스 파일들을 찾아 소스 파일 안에 한글이 있는 줄과 줄 번호를 파일 이름이 포함된 경로와 함께 출력합니다.

To-do Features

  • Add something if need.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL