Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Add a way to edit named queries from an external editor

Đang mở
#1,430 2 bình luận 2 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
45/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
postgresql, python
Lĩnh vực
cli, databases

Hướng nghiên cứu

Bắt đầu bằng cách xác định đường dẫn CLI thực thi các truy vấn có tên và đường dẫn cấu hình hoặc đầu ra hiển thị chúng. Xác nhận cách gọi một trình soạn thảo bên ngoài và cách kiểm soát việc hiển thị truy vấn; công việc được hoàn thành khi cả hai hành vi được yêu cầu đều hoạt động đối với các truy vấn có tên mà không thay đổi kết quả của chúng.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

feature request

Description

I think it can be helpfull to have:

  1. An ability to edit named quieries in my \editor (f.ex. vim): with \n familly command - maybe \ne
  2. I would like to skip the named query show at the top when I'm running it - I want only the results - I have big queries and I need to scroll them every time. It can be via config vile parameter.

Your environment

Ubuntu 22

OS: Ubuntu 22.04.2 LTS
CLI: zsh
pip freeze command:

accelerate==0.22.0
aiohttp==3.8.5
aiosignal==1.3.1
annotated-types==0.5.0
async-timeout==4.0.3
attrs==23.1.0
autokey==0.96.0
beautifulsoup4==4.12.2
build==1.0.0
cachetools==5.3.1
certifi==2023.7.22
charset-normalizer==3.2.0
click==8.1.7
cmake==3.27.2
dataclasses-json==0.5.14
datasets==2.14.4
dill==0.3.7
evaluate==0.4.0
filelock==3.12.3
frozenlist==1.4.0
fsspec==2023.9.0
google==3.0.0
google-api-core==2.11.1
google-auth==2.22.0
googleapis-common-protos==1.60.0
greenlet==2.0.2
huggingface-hub==0.16.4
idna==3.4
install==1.3.5
Jinja2==3.1.2
joblib==1.3.2
langchain==0.0.279
langsmith==0.0.33
libxml2-python==2.11.5
lit==16.0.6
MarkupSafe==2.1.3
marshmallow==3.20.1
mpmath==1.3.0
multidict==6.0.4
multiprocess==0.70.15
mypy-extensions==1.0.0
networkx==3.1
nltk==3.8.1
numexpr==2.8.5
numpy==1.25.2
nvidia-cublas-cu11==11.10.3.66
nvidia-cuda-cupti-cu11==11.7.101
nvidia-cuda-nvrtc-cu11==11.7.99
nvidia-cuda-runtime-cu11==11.7.99
nvidia-cudnn-cu11==8.5.0.96
nvidia-cufft-cu11==10.9.0.58
nvidia-curand-cu11==10.2.10.91
nvidia-cusolver-cu11==11.4.0.1
nvidia-cusparse-cu11==11.7.4.91
nvidia-nccl-cu11==2.14.3
nvidia-nvtx-cu11==11.7.91
packaging==23.1
pandas==2.1.0
protobuf==4.24.2
psutil==5.9.5
pyarrow==13.0.0
pyasn1==0.5.0
pyasn1-modules==0.3.0
pydantic==2.3.0
pydantic_core==2.6.3
Pygments @ file:///tmp/pygments-20231008-7034-7mgm75/Pygments-2.16.1
pyinotify==0.9.6
pyproject_hooks==1.0.0
PyQt5==5.15.9
PyQt5-Qt5==5.15.2
PyQt5-sip==12.12.0
python-dateutil==2.8.2
python-xlib==0.33
pytz==2023.3
PyYAML==6.0.1
regex==2023.8.8
requests==2.31.0
responses==0.18.0
rsa==4.9
safetensors==0.3.3
scikit-learn==1.3.0
scipy==1.11.2
seqeval==1.2.2
six==1.16.0
soupsieve==2.5
span-marker==1.3.0
SQLAlchemy==2.0.20
sympy==1.12
tabulate @ file:///tmp/python-tabulate-20230101-7916-1x927co/tabulate-0.9.0
tenacity==8.2.3
threadpoolctl==3.2.0
tokenizers==0.13.3
torch==2.0.1
tornado==6.3.3
tqdm==4.66.1
transformers==4.32.1
triton==2.0.0
typing-inspect==0.9.0
typing_extensions @ file:///tmp/python-typing-extensions-20231008-6782-q1yw07/typing_extensions-4.8.0
tzdata==2023.3
urllib3==1.26.16
xxhash==3.3.0
yarl==1.9.2
Ngôn ngữ chính
Python
Star
13.4k
Fork
613
Merge trung bình
12 giờ 45 phút
Pull request đã merge (30 ngày)
5

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của dbcli/pgcli

Tất cả issue của dbcli/pgcli

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.