| 1 |
.\" generated by help2man 1.49.3. |
| 2 |
.TH ISORT-IDENTIFY-IMPORTS "1" "February 2025" "isort-identify-imports 6.0.0" "User Commands" |
| 3 |
.SH NAME |
| 4 |
isort-identify-imports \- find Python import definitions |
| 5 |
.SH DESCRIPTION |
| 6 |
usage: isort\-identify\-imports [\-h] [\-\-top\-only] [\-\-follow\-links] [\-\-unique | |
| 7 |
.TP |
| 8 |
\fB\-\-packages\fR | \fB\-\-modules\fR | \fB\-\-attributes]\fR |
| 9 |
files [files ...] |
| 10 |
.PP |
| 11 |
Get all import definitions from a given file. Use `\-` as the first argument to |
| 12 |
represent stdin. |
| 13 |
.SS "positional arguments:" |
| 14 |
.TP |
| 15 |
files |
| 16 |
One or more Python source files to search for imports. |
| 17 |
.SS "options:" |
| 18 |
.TP |
| 19 |
\fB\-h\fR, \fB\-\-help\fR |
| 20 |
show this help message and exit |
| 21 |
.TP |
| 22 |
\fB\-\-top\-only\fR |
| 23 |
Only identify imports that occur in before functions or |
| 24 |
classes. |
| 25 |
.TP |
| 26 |
\fB\-\-unique\fR |
| 27 |
If true, isort will only identify unique imports. |
| 28 |
.TP |
| 29 |
\fB\-\-packages\fR |
| 30 |
If true, isort will only identify the unique top level |
| 31 |
modules imported. |
| 32 |
.TP |
| 33 |
\fB\-\-modules\fR |
| 34 |
If true, isort will only identify the unique modules |
| 35 |
imported. |
| 36 |
.TP |
| 37 |
\fB\-\-attributes\fR |
| 38 |
If true, isort will only identify the unique attributes |
| 39 |
imported. |
| 40 |
.SS "target options:" |
| 41 |
.TP |
| 42 |
\fB\-\-follow\-links\fR |
| 43 |
Tells isort to follow symlinks that are encountered when |
| 44 |
running recursively. |
| 45 |
.SH "SEE ALSO" |
| 46 |
isort(1) - sort Python import definitions |
| 47 |
.TP |
| 48 |
Additional documentation for isort is available online at |
| 49 |
.TP |
| 50 |
https://pycqa.github.io/isort/ |