Docs
Join the conversation
Join Slack
Channels
graphql-nexus
job-board
madewithprisma
mongodb
new-channel
new-channel
new-channel
new-channel
new-channel
orm-help
prisma-client
prisma-data-platform
prisma-go-community
prisma-in-production
prisma-jobs
prisma-migrate
prisma-studio
prisma-whats-new
prisma1-community
prismaday
prismaserverless
product-wishlist
random
Powered by Linen
Channels
graphql-nexus
job-board
madewithprisma
mongodb
new-channel
new-channel
new-channel
new-channel
new-channel
orm-help
prisma-client
prisma-data-platform
prisma-go-community
prisma-in-production
prisma-jobs
prisma-migrate
prisma-studio
prisma-whats-new
prisma1-community
prismaday
prismaserverless
product-wishlist
random
Title
m
miho
12/19/2017, 2:59 PM
re re
process.argv
or how to get extension name in function ? or filename ?
j
jlengstorf
12/19/2017, 4:13 PM
Do you have some pseudocode to show what you're trying to accomplish? e.g command is
$ mycmd file.js
And you're trying to get
process.argv
to show you
file.js
?
m
miho
12/20/2017, 1:38 PM
solved
__filename